mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
b657a4d53f
* gerber initial implementation * added icon * refactor actions * add ground fill for gerber * reorganize export actions * fix gerber export of pcb text * handle negative pcb text * improve positioning of pcb text * add board outline for gerber * add support for other pad shapes * handle 0 hole size * added solder mask layer * refactor gerber support to simplify components * added silk screen support, some refactor * libs * fix mirroring * outline support * simplify layers * Fix board alignment * handle circular pads * handle empty string * update * fixes * add text to silk * fix text tracing * cleanup * fix layer id * optimize continuity calculations * Solder pad - pth vs npth * gerber fixes * netlist improvement * Update update.xml * Pasting a building block sometimes messes up the z-order of components * Pasting a building block sometimes switches selection to previously added components and canvas moves to the wrong position * 'Highlight Continuity Areas' sometimes renders stale areas when clicked * beta build * fix builds * appimage * appimage * appimage * fix building from downloaded jre * disable fractional metrics * appimage * Create build.zip * bat for setup * fix for high DPI monitors * fixes * scaling * appimage * 4.41 release * cleanup * Update org.eclipse.core.resources.prefs
68 lines
2.3 KiB
Plaintext
68 lines
2.3 KiB
Plaintext
[Setup]
|
|
AppName=DIY Layout Creator
|
|
AppVersion={#diylcver}
|
|
DefaultDirName={pf}\DIYLC
|
|
DefaultGroupName=DIY Layout Creator
|
|
UninstallDisplayIcon={app}\diylc.exe
|
|
Compression=lzma2
|
|
SolidCompression=yes
|
|
OutputDir=../build
|
|
OutputBaseFilename=diylc
|
|
ChangesAssociations=yes
|
|
AlwaysShowDirOnReadyPage=yes
|
|
; Only allow the installer to run on x64-compatible systems,
|
|
; and enable 64-bit install mode.
|
|
ArchitecturesAllowed={#arch}
|
|
ArchitecturesInstallIn64BitMode={#arch}
|
|
|
|
[Files]
|
|
Source: "..\build\diylc.exe"; DestDir: "{app}"
|
|
Source: "..\icons\diylc_file.ico"; DestDir: "{app}"
|
|
Source: "..\build\jar\diylc.jar"; DestDir: "{app}"
|
|
Source: "..\build\jar\lib\*"; DestDir: "{app}\lib"
|
|
Source: "..\build\jar\library\*"; DestDir: "{app}\library"
|
|
Source: "..\themes\*"; DestDir: "{app}\themes"
|
|
Source: "..\lang\*"; DestDir: "{app}\lang"
|
|
Source: "..\fonts\*"; DestDir: "{app}\fonts"
|
|
Source: "..\build\jre_win\*"; DestDir: "{app}\jre17"; Flags: ignoreversion recursesubdirs
|
|
Source: "innosetup\donate.bmp"; DestDir: "{tmp}"; Flags: dontcopy nocompression
|
|
|
|
[Registry]
|
|
Root: HKCR; Subkey: ".diy"; ValueData: "DIYLC"; Flags: uninsdeletevalue; ValueType: string; ValueName: ""
|
|
Root: HKCR; Subkey: "DIYLC"; ValueData: "Program DIYLC"; Flags: uninsdeletekey; ValueType: string; ValueName: ""
|
|
Root: HKCR; Subkey: "DIYLC\DefaultIcon"; ValueData: "{app}\diylc_file.ico"; ValueType: string; ValueName: ""
|
|
Root: HKCR; Subkey: "DIYLC\shell\open\command"; ValueData: """{app}\diylc.exe"" ""%1"""; ValueType: string; ValueName: ""
|
|
|
|
[Icons]
|
|
Name: "{group}\DIY Layout Creator"; Filename: "{app}\diylc.exe"
|
|
|
|
[Run]
|
|
Filename: "{app}\diylc.exe"; Description: "Launch DIYLC on exit"; Flags: postinstall skipifsilent
|
|
|
|
[Code]
|
|
|
|
procedure LicenseLinkClick(Sender: TObject);
|
|
var
|
|
ErrorCode: Integer;
|
|
begin
|
|
ShellExec('', 'http://www.diy-fever.com/donate', '', '', SW_SHOW, ewNoWait,
|
|
ErrorCode);
|
|
end;
|
|
|
|
procedure InitializeWizard;
|
|
var donateImage: TBitmapImage;
|
|
begin
|
|
ExtractTemporaryFile('donate.bmp');
|
|
|
|
donateImage := TBitmapImage.Create(WizardForm);
|
|
donateImage.Parent:= WizardForm;
|
|
donateImage.Bitmap.LoadFromFile(ExpandConstant('{tmp}\donate.bmp'));
|
|
donateImage.Stretch := True;
|
|
donateImage.Width := 142;
|
|
donateImage.Height := 27;
|
|
donateImage.Left := 8;
|
|
donateImage.Top := WizardForm.InnerPage.Height + 10;
|
|
donateImage.Cursor := crHand;
|
|
donateImage.OnClick := @LicenseLinkClick;
|
|
end;
|