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"
3
3
4
4
$Model2_romsPath = " $emusPath \model2\roms"
5
5
$Model2_launcherPath = " $toolsPath \launchers\model-2-emulator.ps1"
@@ -9,18 +9,18 @@ function Model2_install() {
9
9
setMSG " Installing Model 2 Emulator"
10
10
$url_Model2 = " https://github.com/PhoenixInteractiveNL/edc-repo0004/raw/master/m2emulator/1.1a.7z"
11
11
download $url_Model2 " model2.zip"
12
- moveFromTo " $temp \model2" " $emusPath \Model2 "
12
+ moveFromTo " $temp \model2" " $emusPath \m2emulator "
13
13
createLauncher " Model2"
14
14
}
15
15
16
16
function Model2_init (){
17
17
18
- $destination = " $emusPath \Model2 "
18
+ $destination = " $emusPath \m2emulator "
19
19
20
20
mkdir - Force " $destination \pfx"
21
21
22
22
$sourcePath = " $env: APPDATA \EmuDeck\backend\configs\model2\EMULATOR.ini"
23
- $destinationPath = " $emusPath \Model2 \EMULATOR.ini"
23
+ $destinationPath = " $emusPath \m2emulator \EMULATOR.ini"
24
24
Copy-Item - Path $sourcePath - Destination $destinationPath - Force
25
25
26
26
$sourceCFG = " $env: APPDATA \EmuDeck\backend\configs\model2\CFG"
@@ -54,14 +54,14 @@ function Model2_update(){
54
54
}
55
55
56
56
function Model2_uninstall (){
57
- Remove-Item - path " $emusPath \Model2 " - recurse - force
57
+ Remove-Item - path " $emusPath \m2emulator " - recurse - force
58
58
if ($? ){
59
59
Write-Output " true"
60
60
}
61
61
}
62
62
63
63
function Model2_IsInstalled (){
64
- $test = Test-Path - Path " $emusPath \Model2 "
64
+ $test = Test-Path - Path " $emusPath \m2emulator "
65
65
if ($test ){
66
66
Write-Output " true"
67
67
}else {
0 commit comments