mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-17 10:38:04 +02:00
Audio-Stereo - Complements of KYHI
PreFlight - Check disk space Shell Config - Disable telemetry Fixed display driver registration Fixed vmware script Auto num processor setting could cause system thread exception not handled with Win10 2004. misc bug fixes
This commit is contained in:
@@ -147,17 +147,7 @@ WriteInterface,Value,%ScriptFile%,Interface,cb_GraphicalBootMenu,False
|
||||
// Related........: btn_AdvancedOptions
|
||||
// ===============================================================================================================================
|
||||
[ToggleAdvancedOptions]
|
||||
System,SetLocal
|
||||
ReadInterface,Visible,%ScriptFile%,Interface,btn_RemoveBootMenuEntry,%state%
|
||||
If,%state%,Equal,False,Begin,
|
||||
If,Question,"WARNING!#$x#$xAdvanced options are intended for expert users only!#$x#$xModifying advanced options without knowing what you are doing can cause permanent damage to your project and may result in unexpected behavior and/or build failures.#$x#$xAre you sure you want to continue?",Set,%Toggle%,True
|
||||
Else,Set,%Toggle%,False
|
||||
End
|
||||
Else,Set,%Toggle%,False
|
||||
|
||||
WriteInterface,Visible,%ScriptFile%,Interface,btn_RemoveBootMenuEntry,%Toggle%
|
||||
|
||||
System,EndLocal
|
||||
Message,"There are no advanced options available for this script."
|
||||
|
||||
[#ShowScriptInfo#]
|
||||
// ===============================================================================================================================
|
||||
@@ -186,7 +176,7 @@ Message,"This script will create a menu entry in your computer’s Boot Menu giv
|
||||
// ===============================================================================================================================
|
||||
[Interface]
|
||||
btn_CreateBootMenuEntry="Create Boot Menu Entry",1,8,5,5,150,25,Process,Add_16.png,True
|
||||
btn_RemoveBootMenuEntry="Remove Boot Menu Entry",0,8,163,5,150,25,RemoveBootMenuEntry,Remove_16.png,True
|
||||
btn_RemoveBootMenuEntry="Remove Boot Menu Entry",1,8,163,5,150,25,RemoveBootMenuEntry,Remove_16.png,True
|
||||
btn_SetDefaultOptions=,1,8,541,5,25,25,SetDefaultOptions,SetDefaults_16.png,True,"__Restore Defaults"
|
||||
btn_AdvancedOptions=,1,8,571,5,25,25,ToggleAdvancedOptions,Advanced_16.png,True,"__Show/Hide Advanced Options"
|
||||
btn_ScriptInfo=,1,8,601,5,25,25,ShowScriptInfo,Help_16.png,True,"__Script Info"
|
||||
|
@@ -32,12 +32,12 @@
|
||||
Title=VMware
|
||||
Author=Homes32
|
||||
Description=Run your ISO in VMware Player/Workstation
|
||||
Version=1.0.0.0
|
||||
Version=1.0.1.0
|
||||
Level=9
|
||||
Selected=True
|
||||
Mandatory=False
|
||||
NoWarning=False
|
||||
Date=2019-05-05
|
||||
Date=2021-04-25
|
||||
|
||||
[Variables]
|
||||
%VMPath%=%ProjectTemp%\VMware
|
||||
@@ -131,9 +131,14 @@ TXTAddLine,%VMCfg%,"guestOS = #$q%VMOS%#$q",Append
|
||||
If,%cmb_numProc%,Equal,Auto,Begin
|
||||
System,GetEnv,"NUMBER_OF_PROCESSORS",%numProcessors%
|
||||
If,%numProcessors%,Equal,"",Set,%numProcessors%,1
|
||||
Else,Begin
|
||||
// Set to n-1 to reserve an entire processor for the host system
|
||||
Math,Sub,%numProcessors%,%numProcessors%,1
|
||||
End
|
||||
End
|
||||
Else,Set,%numProcessors%,%cmb_numProc%
|
||||
TXTAddLine,%VMCfg%,"numvcpus=#$q%numProcessors%#$q",Append
|
||||
TXTAddLine,%VMCfg%,"cpuid.coresPerSocket=#$q%numProcessors%#$q",Append
|
||||
|
||||
// Memory
|
||||
TXTAddLine,%VMCfg%,"memsize = #$q%cmb_MemSize%#$q",Append
|
||||
|
@@ -32,12 +32,12 @@
|
||||
Title=VirtualBox
|
||||
Author=Homes32
|
||||
Description=Run your ISO in Oracle VirtualBox
|
||||
Version=1.0.0.0
|
||||
Version=1.0.1.0
|
||||
Level=9
|
||||
Selected=False
|
||||
Mandatory=False
|
||||
NoWarning=False
|
||||
Date=2019-05-05
|
||||
Date=2021-04-25
|
||||
|
||||
[Variables]
|
||||
%vmName%=%ProjectTitle%
|
||||
@@ -140,6 +140,10 @@ End
|
||||
If,%cmb_numProc%,Equal,Auto,Begin
|
||||
System,GetEnv,"NUMBER_OF_PROCESSORS",%numProcessors%
|
||||
If,%numProcessors%,Equal,"",Set,%numProcessors%,1
|
||||
Else,Begin
|
||||
// Set to n-1 to reserve an entire processor for the host system
|
||||
Math,Sub,%numProcessors%,%numProcessors%,1
|
||||
End
|
||||
End
|
||||
Else,Set,%numProcessors%,%cmb_numProc%
|
||||
ShellExecute,Hide,%VBoxManage.exe%,"modifyvm #$q%vmName%#$q --cpus %numProcessors%"
|
||||
|
Reference in New Issue
Block a user