Skip to content

Commit 1f5ad00

Browse files
committed
Merge branch 'early-unstable' into early
2 parents f582025 + be6c23b commit 1f5ad00

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

functions/EmuScripts/emuDeckModel2.ps1

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$Model2_emuPath = "$emusPath\model2\EMULATOR.EXE"
2-
$Model2_configFile = "$emusPath\model2\EMULATOR.INI"
1+
$Model2_emuPath = "$emusPath\m2emulator\EMULATOR.EXE"
2+
$Model2_configFile = "$emusPath\m2emulator\EMULATOR.INI"
33

44
$Model2_romsPath = "$emusPath\model2\roms"
55
$Model2_launcherPath = "$toolsPath\launchers\model-2-emulator.ps1"
@@ -9,18 +9,18 @@ function Model2_install() {
99
setMSG "Installing Model 2 Emulator"
1010
$url_Model2 = "https://github.com/PhoenixInteractiveNL/edc-repo0004/raw/master/m2emulator/1.1a.7z"
1111
download $url_Model2 "model2.zip"
12-
moveFromTo "$temp\model2" "$emusPath\Model2"
12+
moveFromTo "$temp\model2" "$emusPath\m2emulator"
1313
createLauncher "Model2"
1414
}
1515

1616
function Model2_init(){
1717

18-
$destination="$emusPath\Model2"
18+
$destination="$emusPath\m2emulator"
1919

2020
mkdir -Force "$destination\pfx"
2121

2222
$sourcePath = "$env:APPDATA\EmuDeck\backend\configs\model2\EMULATOR.ini"
23-
$destinationPath = "$emusPath\Model2\EMULATOR.ini"
23+
$destinationPath = "$emusPath\m2emulator\EMULATOR.ini"
2424
Copy-Item -Path $sourcePath -Destination $destinationPath -Force
2525

2626
$sourceCFG = "$env:APPDATA\EmuDeck\backend\configs\model2\CFG"
@@ -54,14 +54,14 @@ function Model2_update(){
5454
}
5555

5656
function Model2_uninstall(){
57-
Remove-Item -path "$emusPath\Model2"-recurse -force
57+
Remove-Item -path "$emusPath\m2emulator"-recurse -force
5858
if($?){
5959
Write-Output "true"
6060
}
6161
}
6262

6363
function Model2_IsInstalled(){
64-
$test=Test-Path -Path "$emusPath\Model2"
64+
$test=Test-Path -Path "$emusPath\m2emulator"
6565
if($test){
6666
Write-Output "true"
6767
}else{

tools/launchers/model2.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cd "$env:APPDATA/EmuDeck/Emulators/Model2"
1+
cd "$env:APPDATA/EmuDeck/Emulators/m2emulator"
22
$emulatorFile = "./EMULATOR.exe"
33
$emuName = "model2"
44

0 commit comments

Comments
 (0)