Artemis 4 RC1
This commit is contained in:
27
building/Windows/build_windows.ps1
Normal file
27
building/Windows/build_windows.ps1
Normal file
@@ -0,0 +1,27 @@
|
||||
Write-Output "Building Windows target"
|
||||
|
||||
Write-Output "Installing requirements ..."
|
||||
pip install -r requirements.txt
|
||||
pip install nuitka
|
||||
|
||||
Write-Output "Building with Nuitka ..."
|
||||
python -m nuitka app.py `
|
||||
--standalone `
|
||||
--follow-imports `
|
||||
--show-modules `
|
||||
--assume-yes-for-downloads `
|
||||
--disable-console `
|
||||
--enable-plugin=pyside6 `
|
||||
--include-qt-plugins=sensible,styles,qml,multimedia `
|
||||
--include-data-files=.\artemis\resources.py=.\artemis\resources.py `
|
||||
--include-data-files=.\config\qtquickcontrols2.conf=.\config\qtquickcontrols2.conf `
|
||||
--windows-company-name=Aresvalley.com `
|
||||
--windows-product-name=Artemis `
|
||||
--windows-file-version=4.0.0 `
|
||||
--windows-product-version=4.0.0 `
|
||||
--windows-file-description=Artemis `
|
||||
--windows-icon-from-ico=images\artemis_icon.ico
|
||||
|
||||
Rename-Item -Path app.dist\app.exe -NewName artemis.exe
|
||||
|
||||
Write-Output "Building Windows target finished."
|
||||
44
building/Windows/windows_installer.iss
Normal file
44
building/Windows/windows_installer.iss
Normal file
@@ -0,0 +1,44 @@
|
||||
#define MyAppName "Artemis"
|
||||
#define MyAppVersion "4.0.0"
|
||||
#define MyAppPublisher "AresValley"
|
||||
#define MyAppURL "https://www.aresvalley.com/"
|
||||
#define MyAppExeName "artemis.exe"
|
||||
|
||||
[Setup]
|
||||
AppName={#MyAppName}
|
||||
AppId={2A04F9B8-0EF1-4D46-A335-E484DA6CE8A7}
|
||||
AppVersion={#MyAppVersion}
|
||||
AppPublisher={#MyAppPublisher}
|
||||
AppPublisherURL={#MyAppURL}
|
||||
AppSupportURL={#MyAppURL}
|
||||
AppUpdatesURL={#MyAppURL}
|
||||
DefaultDirName={autopf}\{#MyAppName}
|
||||
DisableProgramGroupPage=yes
|
||||
LicenseFile=..\..\LICENSE
|
||||
PrivilegesRequiredOverridesAllowed=dialog
|
||||
OutputDir=..\
|
||||
OutputBaseFilename=Artemis
|
||||
SetupIconFile=..\..\images\artemis_icon.ico
|
||||
Compression=lzma2/ultra64
|
||||
SolidCompression=yes
|
||||
VersionInfoVersion={#MyAppVersion}
|
||||
ArchitecturesAllowed=x64
|
||||
UninstallDisplayIcon={app}\{#MyAppExeName}
|
||||
WizardStyle=modern
|
||||
|
||||
[Languages]
|
||||
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||
|
||||
[Tasks]
|
||||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||
|
||||
[Files]
|
||||
Source: "..\..\app.dist\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "..\..\app.dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
|
||||
[Icons]
|
||||
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
||||
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
||||
|
||||
[Run]
|
||||
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
|
||||
Reference in New Issue
Block a user