mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
add INNO setup script
This commit is contained in:
parent
dcf87e492d
commit
bc1c2d1f68
51
EyeTrackApp/INNO/ETVR_SETUP.iss
Normal file
51
EyeTrackApp/INNO/ETVR_SETUP.iss
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
; Script generated by the Inno Setup Script Wizard.
|
||||||
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||||
|
|
||||||
|
#define MyAppName "EyeTrackVR"
|
||||||
|
#define MyAppVersion "0.2 BETA"
|
||||||
|
#define MyAppPublisher "EyeTrackVR"
|
||||||
|
#define MyAppURL "https://redhawk989.github.io/EyeTrackVR/"
|
||||||
|
#define MyAppExeName "eyetrackapp.exe"
|
||||||
|
|
||||||
|
[Setup]
|
||||||
|
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
|
||||||
|
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
||||||
|
AppId={{60B32C3C-819B-4685-AF40-49AB93539405}
|
||||||
|
AppName={#MyAppName}
|
||||||
|
AppVersion={#MyAppVersion}
|
||||||
|
;AppVerName={#MyAppName} {#MyAppVersion}
|
||||||
|
AppPublisher={#MyAppPublisher}
|
||||||
|
AppPublisherURL={#MyAppURL}
|
||||||
|
AppSupportURL={#MyAppURL}
|
||||||
|
AppUpdatesURL={#MyAppURL}
|
||||||
|
DefaultDirName={autopf}\{#MyAppName}
|
||||||
|
DisableProgramGroupPage=yes
|
||||||
|
; Uncomment the following line to run in non administrative install mode (install for current user only.)
|
||||||
|
;PrivilegesRequired=lowest
|
||||||
|
OutputBaseFilename=EyeTrackVR-Setup
|
||||||
|
SetupIconFile=C:\Users\beaul\OneDrive\Desktop\EyeTrackApp\Images\logo.ico
|
||||||
|
Compression=lzma
|
||||||
|
SolidCompression=yes
|
||||||
|
WizardStyle=modern
|
||||||
|
|
||||||
|
[Languages]
|
||||||
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||||
|
|
||||||
|
[Tasks]
|
||||||
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}";
|
||||||
|
|
||||||
|
[Files]
|
||||||
|
Source: "C:\Users\beaul\OneDrive\Desktop\EyeTrackVR\EyeTrackApp\dist\EyeTrackApp\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
Source: "C:\Users\beaul\OneDrive\Desktop\EyeTrackVR\EyeTrackApp\dist\EyeTrackApp\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||||
|
|
||||||
|
[Dirs]
|
||||||
|
Name: {app}; Permissions: users-full
|
||||||
|
|
||||||
|
[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
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ class EyeTrackSettingsConfig(BaseModel):
|
|||||||
gui_IBO: bool = True
|
gui_IBO: bool = True
|
||||||
gui_skip_autoradius: bool = True
|
gui_skip_autoradius: bool = True
|
||||||
gui_thresh_add: int = 20
|
gui_thresh_add: int = 20
|
||||||
gui_update_check: bool = True
|
gui_update_check: bool = False
|
||||||
|
|
||||||
class EyeTrackConfig(BaseModel):
|
class EyeTrackConfig(BaseModel):
|
||||||
version: int = 1
|
version: int = 1
|
||||||
|
|||||||
@ -31,7 +31,7 @@ SETTINGS_RADIO_NAME = '-SETTINGSRADIO-'
|
|||||||
|
|
||||||
|
|
||||||
page_url = 'https://github.com/RedHawk989/EyeTrackVR/releases/latest'
|
page_url = 'https://github.com/RedHawk989/EyeTrackVR/releases/latest'
|
||||||
appversion = "0.2.0"
|
appversion = "0.2.0 BETA 1"
|
||||||
|
|
||||||
def open_url():
|
def open_url():
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user