mirror of
https://github.com/LinoSchmidt/StickExporterTX.git
synced 2026-03-21 10:00:47 +01:00
Added installer
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -261,6 +261,8 @@ typings/
|
|||||||
# Electron-Forge
|
# Electron-Forge
|
||||||
out/
|
out/
|
||||||
|
|
||||||
|
output/
|
||||||
|
|
||||||
blender/
|
blender/
|
||||||
|
|
||||||
logs/
|
logs/
|
||||||
|
|||||||
14
README.md
14
README.md
@@ -4,11 +4,21 @@ A 3D Sticks Exporter for EdgeTX/OpenTX logs.
|
|||||||
|
|
||||||
Setup:
|
Setup:
|
||||||
------
|
------
|
||||||
- Lade [Blender Portable](https://www.blender.org/download) Version herunter und Entpacke es mit dem Namen `blender` in den Projektordner.
|
- Lade [Blender Portable](https://www.blender.org/download) Version herunter und Entpacke es mit dem Namen `blender` in den Ordner `<Projektordner>/src/assets`.
|
||||||
|
Wenn dieser nicht existiert, erstellen sie den Ordner.
|
||||||
|
- Kopieren sie die Dateien im Ordner `<Projektordner>/src/assets` in den Ordner `%appdata%/stickexportertx/assets`.
|
||||||
- Starte eine Console in dem Projektordner und führe den Befehl `npm install` aus um alle notwendingen packages zu installieren.
|
- Starte eine Console in dem Projektordner und führe den Befehl `npm install` aus um alle notwendingen packages zu installieren.
|
||||||
|
|
||||||
Start:
|
Start:
|
||||||
------
|
------
|
||||||
Um das Programm zu starten, führe einfach den Befehl `npm start` im Projektordner aus.
|
Kopieren sie die Dateien im Ordner `<Projektordner>/src/assets` in den Ordner `%appdata%/stickexportertx/assets`.
|
||||||
|
Um das Programm zu starten, führe den Befehl `npm start` im Projektordner aus.
|
||||||
|
|
||||||
|
Build:
|
||||||
|
------
|
||||||
|
(Noch Nicht Funktionsfähig)
|
||||||
|
Um das Programm zu Builden, führe den Befehl `npm run package` im Projektordner aus.
|
||||||
|
Um es dann in einen EXE-Installer zu laden, öffne die Datei `installer-builder.iss` mit dem Programm [Inno Setup Compiler](https://jrsoftware.org/isdl.php#stable) und Führe das Script aus. Der Fertige installer sollte nach dem Compilen im Projektordner/output liegen.
|
||||||
|
|
||||||
|
|
||||||
Copyright © 2022 Lino Schmidt. All rights reserved.
|
Copyright © 2022 Lino Schmidt. All rights reserved.
|
||||||
58
installer-builder.iss
Normal file
58
installer-builder.iss
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
; Script generated by the Inno Setup Script Wizard.
|
||||||
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||||
|
|
||||||
|
#define MyAppName "StickExporterTX"
|
||||||
|
#define MyAppVersion "0.5"
|
||||||
|
#define MyAppPublisher "Lino Schmidt"
|
||||||
|
#define MyAppURL "https://stickexportertx.lino3d.de"
|
||||||
|
#define MyAppExeName "stickexportertx.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={{11FB4A05-6479-45DE-8B5C-436F0E63B2D3}
|
||||||
|
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
|
||||||
|
OutputDir=D:\Git\stickexportertx\output
|
||||||
|
OutputBaseFilename=stickexportertx-setup
|
||||||
|
SetupIconFile=D:\Git\stickexportertx\icon.ico
|
||||||
|
Compression=lzma
|
||||||
|
SolidCompression=yes
|
||||||
|
WizardStyle=modern
|
||||||
|
|
||||||
|
[Languages]
|
||||||
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||||
|
Name: "german"; MessagesFile: "compiler:Languages\German.isl"
|
||||||
|
|
||||||
|
[Tasks]
|
||||||
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||||
|
|
||||||
|
[Files]
|
||||||
|
Source: "D:\Git\stickexportertx\out\stickexportertx-win32-x64\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
Source: "D:\Git\stickexportertx\out\stickexportertx-win32-x64\locales\*"; DestDir: "{app}\locales"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
Source: "D:\Git\stickexportertx\out\stickexportertx-win32-x64\swiftshader\*"; DestDir: "{app}\swiftshader"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
Source: "D:\Git\stickexportertx\out\stickexportertx-win32-x64\*"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
Source: "D:\Git\stickexportertx\out\stickexportertx-win32-x64\resources\app\package.json"; DestDir: "{app}\resources\app"; Flags: ignoreversion
|
||||||
|
Source: "D:\Git\stickexportertx\out\stickexportertx-win32-x64\resources\app\src\*"; DestDir: "{app}\resources\app\src"; Flags: ignoreversion
|
||||||
|
Source: "D:\Git\stickexportertx\out\stickexportertx-win32-x64\resources\app\src\js\*"; DestDir: "{app}\resources\app\src\js"; Flags: ignoreversion
|
||||||
|
Source: "D:\Git\stickexportertx\out\stickexportertx-win32-x64\resources\app\src\css\*"; DestDir: "{app}\resources\app\src\css"; Flags: ignoreversion
|
||||||
|
Source: "D:\Git\stickexportertx\out\stickexportertx-win32-x64\resources\app\node_modules\*"; DestDir: "{app}\resources\app\node_modules"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
Source: "D:\Git\stickexportertx\out\stickexportertx-win32-x64\resources\app\src\assets\*"; DestDir: "{userappdata}\stickexportertx\assets"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||||
|
|
||||||
|
[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