diff --git a/BUILD.MD b/BUILD.MD index 2b965ba..dd26a8b 100644 --- a/BUILD.MD +++ b/BUILD.MD @@ -1,2 +1,6 @@ -# RUN Build +# RUN Build Linux lazbuild --ws=qt6 ewsdr.lpr +# RUN Build Windows +lazbuild --ws=win32 ewsdr.lpr +# RUN Build macOS +lazbuild --ws=cocoa ewsdr.lpr diff --git a/bundle_app.sh b/other/create_bundle_app_macos.sh similarity index 100% rename from bundle_app.sh rename to other/create_bundle_app_macos.sh diff --git a/other/ewsdr_inno_setup.iss b/other/ewsdr_inno_setup.iss new file mode 100644 index 0000000..62778db --- /dev/null +++ b/other/ewsdr_inno_setup.iss @@ -0,0 +1,43 @@ +[Setup] +AppId={{6D65ED5C-AF9A-4A7E-AB17-8AE9125CA6E9}} +AppName=EWSDR +AppVersion=__VERSION__ +DefaultDirName={pf}\EWSDR +DefaultGroupName=EWSDR +UninstallDisplayIcon={app}\ewsdr.exe +Compression=lzma2 +SolidCompression=yes +OutputDir=__OUTPUT_DIR__ +ArchitecturesAllowed=x64 +ArchitecturesInstallIn64BitMode=x64 +OutputBaseFilename=__OUTPUT_FILENAME__ + +[Languages] +Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl" + +[Tasks] + +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked + + +[Files] +Source: "__SOURCE_PATH__\__ARCH__\ewsdr.exe"; DestDir: "{app}"; DestName: "ewsdr.exe" +Source: "__SOURCE_PATH__\__ARCH__\wdsp.dll"; DestDir: "{app}"; + +[Icons] +Name: "{group}\EWSDR"; Filename: "{app}\ewsdr.exe" +Name: "{commondesktop}\EWSDR"; Filename: "{app}\ewsdr.exe"; Tasks: desktopicon + +[Run] +Filename: {app}\ewsdr.exe; Description: {cm:LaunchProgram,EWSDR}; Flags: nowait showcheckbox + +[code] +procedure CurPageChanged(CurPageID: Integer); +var + ResultCode:Integer; +begin + if CurPageID = wpWelcome then + begin + Exec('taskkill', '/F /IM ewsdr.exe', '', 0, ewWaitUntilTerminated, ResultCode); + end; +end;