Skip to content

Commit

Permalink
fix last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
th3w1zard1 committed Feb 24, 2024
1 parent 775cb0d commit 9cf503b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 30 deletions.
7 changes: 1 addition & 6 deletions compile/compile_batchpatcher.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $pyInstallerArgs = @{
'pykotor-gl'
)
'clean' = $true
'console' = $true
'noconsole' = $true # https://github.com/pyinstaller/pyinstaller/wiki/FAQ#mac-os-x https://pyinstaller.org/en/stable/usage.html#cmdoption-w
'onefile' = $true
'noconfirm' = $true
'name' = 'K_BatchPatcher'
Expand Down Expand Up @@ -75,11 +75,6 @@ $pyInstallerArgs = $pyInstallerArgs.GetEnumerator() | ForEach-Object {
}
}

# Ensure .app is created on Mac OS X:
if ((Get-OS) -eq "Mac") { # https://github.com/pyinstaller/pyinstaller/wiki/FAQ#mac-os-x
$pyInstallerArgs += "--windowed"
}

# Add PYTHONPATH paths as arguments
$env:PYTHONPATH -split ';' | ForEach-Object {
$pyInstallerArgs += "--path=$_"
Expand Down
7 changes: 1 addition & 6 deletions compile/compile_gui_duplicator.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ $pyInstallerArgs = @{
'beautifulsoup4'
)
'clean' = $true
'console' = $true
'console' = $true # https://github.com/pyinstaller/pyinstaller/wiki/FAQ#mac-os-x https://pyinstaller.org/en/stable/usage.html#cmdoption-w
'onefile' = $true
'noconfirm' = $true
'name' = "GuiDuplicator"
Expand Down Expand Up @@ -109,11 +109,6 @@ $pyInstallerArgs = $pyInstallerArgs.GetEnumerator() | ForEach-Object {
}
}

# Ensure .app is created on Mac OS X:
if ((Get-OS) -eq "Mac") { # https://github.com/pyinstaller/pyinstaller/wiki/FAQ#mac-os-x
$pyInstallerArgs += "--windowed"
}

# Add PYTHONPATH paths as arguments
$env:PYTHONPATH -split ';' | ForEach-Object {
$pyInstallerArgs += "--path=$_"
Expand Down
7 changes: 1 addition & 6 deletions compile/compile_holopatcher.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ $pyInstallerArgs = @{
'beautifulsoup4'
)
'clean' = $true
'noconsole' = $true
'noconsole' = $true # https://github.com/pyinstaller/pyinstaller/wiki/FAQ#mac-os-x https://pyinstaller.org/en/stable/usage.html#cmdoption-w
'onefile' = $true
'noconfirm' = $true
'distpath' = ($rootPath + $pathSep + "dist")
Expand Down Expand Up @@ -105,11 +105,6 @@ $pyInstallerArgs = $pyInstallerArgs.GetEnumerator() | ForEach-Object {
}
}

# Ensure .app is created on Mac OS X:
if ((Get-OS) -eq "Mac") { # https://github.com/pyinstaller/pyinstaller/wiki/FAQ#mac-os-x
$pyInstallerArgs += "--windowed"
}

# Add PYTHONPATH paths as arguments
$env:PYTHONPATH -split ';' | ForEach-Object {
$pyInstallerArgs += "--path=$_"
Expand Down
7 changes: 1 addition & 6 deletions compile/compile_kotordiff.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ $pyInstallerArgs = @{
'beautifulsoup4'
)
'clean' = $true
'console' = $true
'console' = $true # https://github.com/pyinstaller/pyinstaller/wiki/FAQ#mac-os-x https://pyinstaller.org/en/stable/usage.html#cmdoption-w
'onefile' = $true
'noconfirm' = $true
'name' = "KotorDiff"
Expand Down Expand Up @@ -109,11 +109,6 @@ $pyInstallerArgs = $pyInstallerArgs.GetEnumerator() | ForEach-Object {
}
}

# Ensure .app is created on Mac OS X:
if ((Get-OS) -eq "Mac") { # https://github.com/pyinstaller/pyinstaller/wiki/FAQ#mac-os-x
$pyInstallerArgs += "--windowed"
}

# Add PYTHONPATH paths as arguments
$env:PYTHONPATH -split ';' | ForEach-Object {
$pyInstallerArgs += "--path=$_"
Expand Down
7 changes: 1 addition & 6 deletions compile/compile_toolset.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $pyInstallerArgs = @{
'torch'
)
'clean' = $true
'console' = $true
'noconsole' = $true # https://github.com/pyinstaller/pyinstaller/wiki/FAQ#mac-os-x https://pyinstaller.org/en/stable/usage.html#cmdoption-w
'onefile' = $true
'noconfirm' = $true
'name' = "HolocronToolset"
Expand Down Expand Up @@ -71,11 +71,6 @@ $pyInstallerArgs = $pyInstallerArgs.GetEnumerator() | ForEach-Object {
}
}

# Ensure .app is created on Mac OS X:
if ((Get-OS) -eq "Mac") { # https://github.com/pyinstaller/pyinstaller/wiki/FAQ#mac-os-x
$pyInstallerArgs += "--windowed"
}

# Add PYTHONPATH paths as arguments
$env:PYTHONPATH -split ';' | ForEach-Object {
$pyInstallerArgs += "--path=$_"
Expand Down

0 comments on commit 9cf503b

Please sign in to comment.