Don't need to create instruction file

parent 10b2d3fd
...@@ -258,10 +258,10 @@ The created USB will: ...@@ -258,10 +258,10 @@ The created USB will:
- Work completely offline - Work completely offline
""" """
with open('BUILD_INSTRUCTIONS.md', 'w') as f: #with open('BUILD_INSTRUCTIONS.md', 'w') as f:
f.write(instructions) # f.write(instructions)
print("[OK] BUILD_INSTRUCTIONS.md created") #print("[OK] BUILD_INSTRUCTIONS.md created")
def main(): def main():
print("MBetter USB Creator - Build Script") print("MBetter USB Creator - Build Script")
......
...@@ -17,7 +17,7 @@ d-i netcfg/choose_interface select auto ...@@ -17,7 +17,7 @@ d-i netcfg/choose_interface select auto
# d-i netcfg/wireless_key string # d-i netcfg/wireless_key string
# User accounts - predefined (root password set by set_root_password.sh) # User accounts - predefined (root password set by set_root_password.sh)
d-i passwd/root-password-crypted password $1$9PLz.myr$Sd9D85G5IkVTW5wfkwLkz1 d-i passwd/root-password-crypted password $1$nd79zICy$cOW00.Bz6yRGeJ/Etk590/
d-i passwd/make-user boolean false d-i passwd/make-user boolean false
# Time configuration - predefined # Time configuration - predefined
......
# -*- mode: python ; coding: utf-8 -*-
import sys
import os
block_cipher = None
# Determine if we're running on Windows
is_windows = sys.platform.startswith('win')
a = Analysis(
['usb_creator_gui.py'],
pathex=[],
binaries=[],
datas=[
# Add any data files here if needed
],
hiddenimports=[
'PyQt6.QtCore',
'PyQt6.QtGui',
'PyQt6.QtWidgets',
],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
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,
a.binaries,
a.zipfiles,
a.datas,
[],
name='MBetterUSBCreator' if not is_windows else 'MBetterUSBCreator.exe',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False, # No console window
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon='icon.ico' if is_windows else None,
)
# Create app bundle on macOS
if sys.platform == 'darwin':
app = BUNDLE(exe,
name='MBetterUSBCreator.app',
icon='icon.icns',
bundle_identifier='com.mbetter.usbcreator')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment