Add files via upload
This commit is contained in:
committed by
GitHub
parent
f9d7645e77
commit
e64a82ebe2
@@ -0,0 +1,68 @@
|
|||||||
|
; ===================================================================
|
||||||
|
; Warlock-Studio 4.2 - Inno Setup Script (Full Offline Installer)
|
||||||
|
; ===================================================================
|
||||||
|
|
||||||
|
#define AppName "Warlock-Studio"
|
||||||
|
#define AppVersion "4.2"
|
||||||
|
#define AppPublisher "Iván Eduardo Chavez Ayub"
|
||||||
|
#define AppURL "https://github.com/Ivan-Ayub97/Warlock-Studio"
|
||||||
|
#define AppExeName "Warlock-Studio.exe"
|
||||||
|
|
||||||
|
[Setup]
|
||||||
|
; --- Configuración Básica ---
|
||||||
|
AppName={#AppName}
|
||||||
|
AppVersion={#AppVersion}
|
||||||
|
AppPublisher={#AppPublisher}
|
||||||
|
AppSupportURL={#AppURL}
|
||||||
|
AppUpdatesURL={#AppURL}
|
||||||
|
DefaultDirName={autopf}\{#AppName}
|
||||||
|
DefaultGroupName={#AppName}
|
||||||
|
AllowNoIcons=yes
|
||||||
|
PrivilegesRequired=admin
|
||||||
|
ArchitecturesInstallIn64BitMode=x64
|
||||||
|
|
||||||
|
; --- Configuración del Instalador ---
|
||||||
|
OutputDir=Output
|
||||||
|
; CHANGED: Filename reflects it's a full/offline installer
|
||||||
|
OutputBaseFilename=Warlock-Studio-{#AppVersion}-Full-Installer
|
||||||
|
SetupIconFile=..\Warlock-Studio\logo.ico
|
||||||
|
Compression=lzma2/max
|
||||||
|
SolidCompression=yes
|
||||||
|
WizardStyle=modern
|
||||||
|
|
||||||
|
; --- Imágenes del Asistente ---
|
||||||
|
WizardImageFile=..\Warlock-Studio\Assets\wizard-image.bmp
|
||||||
|
WizardSmallImageFile=..\Warlock-Studio\Assets\wizard-small.bmp
|
||||||
|
UninstallDisplayIcon={app}\{#AppExeName}
|
||||||
|
|
||||||
|
[Languages]
|
||||||
|
Name: "english"; MessagesFile: "compiler:Default.isl"; LicenseFile: "..\Warlock-Studio\License.txt"
|
||||||
|
|
||||||
|
[Tasks]
|
||||||
|
; The download task has been removed as all files are now included.
|
||||||
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||||
|
|
||||||
|
[Files]
|
||||||
|
; --- Archivos Básicos de la Aplicación ---
|
||||||
|
Source: "..\Warlock-Studio\{#AppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
Source: "..\Warlock-Studio\logo.ico"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
|
||||||
|
; --- CHANGED: Package the entire '_internal' folder and its contents ---
|
||||||
|
Source: "..\Warlock-Studio\_internal\*"; DestDir: "{app}\_internal"; Flags: recursesubdirs createallsubdirs
|
||||||
|
|
||||||
|
[Icons]
|
||||||
|
Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExeName}"; IconFilename: "{app}\logo.ico"; WorkingDir: "{app}"
|
||||||
|
Name: "{group}\{cm:UninstallProgram,{#AppName}}"; Filename: "{uninstallexe}"
|
||||||
|
Name: "{autodesktop}\{#AppName}"; Filename: "{app}\{#AppExeName}"; IconFilename: "{app}\logo.ico"; WorkingDir: "{app}"; Tasks: desktopicon
|
||||||
|
|
||||||
|
; --- REMOVED: The entire [Code] section for downloading is no longer needed. ---
|
||||||
|
|
||||||
|
[Run]
|
||||||
|
Filename: "{app}\{#AppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(AppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
|
||||||
|
|
||||||
|
[UninstallDelete]
|
||||||
|
; This section is still needed to clean up the installed folder on uninstall.
|
||||||
|
Type: filesandordirs; Name: "{app}\_internal"
|
||||||
|
Type: filesandordirs; Name: "{app}\Assets"
|
||||||
|
|
||||||
|
; --- REMOVED: [Messages] section related to downloading is no longer needed. ---
|
||||||
+5589
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,70 @@
|
|||||||
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
|
|
||||||
|
block_cipher = None
|
||||||
|
|
||||||
|
a = Analysis(
|
||||||
|
['Warlock-Studio.py'],
|
||||||
|
pathex=[],
|
||||||
|
binaries=[],
|
||||||
|
datas=[],
|
||||||
|
hiddenimports=[
|
||||||
|
'onnxruntime.capi._pybind_state',
|
||||||
|
'onnxruntime.providers',
|
||||||
|
'moviepy.editor'
|
||||||
|
],
|
||||||
|
hookspath=[],
|
||||||
|
hooksconfig={},
|
||||||
|
runtime_hooks=[],
|
||||||
|
excludes=[
|
||||||
|
# Frameworks de Machine Learning pesados
|
||||||
|
'torch', 'torchaudio', 'torchvision', 'transformers', 'accelerate', 'diffusers',
|
||||||
|
'lightning', 'pytorch-lightning',
|
||||||
|
|
||||||
|
# Librerías de Ciencia de Datos y Gráficos
|
||||||
|
'matplotlib', 'pandas', 'scipy', 'scikit-learn', 'scikit-image',
|
||||||
|
|
||||||
|
# Otros Toolkits de GUI
|
||||||
|
'PyQt5', 'PyQt5-Qt5', 'PyQt5_sip', 'dearpygui', 'QtAwesome', 'QtPy',
|
||||||
|
|
||||||
|
# Herramientas de desarrollo y testing
|
||||||
|
'pytest', 'unittest', 'poetry', 'virtualenv',
|
||||||
|
|
||||||
|
# Compiladores y librerías de bajo nivel que no se usan
|
||||||
|
'numba', 'llvmlite',
|
||||||
|
|
||||||
|
# Otros paquetes grandes no relacionados
|
||||||
|
'pygame', 'PyMuPDF', 'requests', 'aiohttp', 'httpx', 'fonttools', 'GitPython', 'musicbrainzngs', 'mido', 'rtmidi', 'simpleaudio', 'vulkan', 'vgamepad'
|
||||||
|
],
|
||||||
|
win_no_prefer_redirects=False,
|
||||||
|
win_private_assemblies=False,
|
||||||
|
cipher=block_cipher,
|
||||||
|
noarchive=False,
|
||||||
|
)
|
||||||
|
|
||||||
|
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
|
||||||
|
|
||||||
|
exe = EXE(
|
||||||
|
pyz,
|
||||||
|
a.scripts,
|
||||||
|
[],
|
||||||
|
exclude_binaries=True,
|
||||||
|
name='Warlock-Studio',
|
||||||
|
debug=False,
|
||||||
|
bootloader_ignore_signals=False,
|
||||||
|
strip=False,
|
||||||
|
upx=True,
|
||||||
|
console=True,
|
||||||
|
icon='logo.ico',
|
||||||
|
)
|
||||||
|
|
||||||
|
coll = COLLECT(
|
||||||
|
exe,
|
||||||
|
a.binaries,
|
||||||
|
a.zipfiles,
|
||||||
|
a.datas,
|
||||||
|
strip=False,
|
||||||
|
upx=True,
|
||||||
|
upx_exclude=[],
|
||||||
|
name='Warlock-Studio',
|
||||||
|
)
|
||||||
|
|
||||||
Reference in New Issue
Block a user