Skip to content

Commit c0589d6

Browse files
authored
Merge pull request #112 from fa0311/develop-v5
v5.2.3
2 parents 304b3ab + 3b07594 commit c0589d6

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

DMMGamePlayerFastLauncher/static/env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
class Env(Dump):
11-
VERSION = "v5.2.2"
11+
VERSION = "v5.2.3"
1212
RELEASE_VERSION = requests.get(UrlConfig.RELEASE_API).json().get("tag_name", VERSION)
1313

1414
DEVELOP: bool = os.environ.get("ENV") == "DEVELOP"

assets/template/schtasks.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
3434
<WakeToRun>false</WakeToRun>
3535
<ExecutionTimeLimit>PT0S</ExecutionTimeLimit>
36-
<Priority>7</Priority>
36+
<Priority>6</Priority>
3737
</Settings>
3838
<Actions Context="Author">
3939
<Exec>
@@ -42,4 +42,4 @@
4242
<WorkingDirectory>{{WORKING_DIRECTORY}}</WorkingDirectory>
4343
</Exec>
4444
</Actions>
45-
</Task>
45+
</Task>

setup.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "DMMGamePlayerFastLauncher"
5-
#define MyAppVersion "5.2.2"
5+
#define MyAppVersion "5.2.3"
66
#define MyAppPublisher "yuki"
77
#define MyAppURL "https://github.com/fa0311/DMMGamePlayerFastLauncher"
88
#define MyAppExeName "DMMGamePlayerFastLauncher.exe"

windows/tools/refresh.ps1

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole("Administrators")) { Start-Process powershell.exe "-File `"$PSCommandPath`" -NoNewWindow -Wait" -Verb RunAs; exit }
2-
Get-ScheduledTask | where TaskPath -eq "\Microsoft\Windows\DMMGamePlayerFastLauncher\" | Unregister-ScheduledTask -Confirm:$false
1+
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole("Administrators")) {
2+
Start-Process powershell.exe "-File `"$PSCommandPath`" -NoNewWindow -Wait" -WorkingDirectory $PSScriptRoot -Verb RunAs;
3+
exit;
4+
}
5+
6+
Get-ScheduledTask | Where-Object TaskPath -eq "\Microsoft\Windows\DMMGamePlayerFastLauncher\" | Unregister-ScheduledTask -Confirm:$false
7+
$schtasks = Join-Path -Path (Split-Path -Path ($PSScriptRoot) -Parent) -ChildPath "data\schtasks"
8+
Get-ChildItem -Path $schtasks | ForEach-Object { schtasks.exe /create /xml $_.FullName /tn "\Microsoft\Windows\DMMGamePlayerFastLauncher\$($_.Name -replace '\.xml$')" }
9+
Read-Host -Prompt "Press Enter to exit"

0 commit comments

Comments
 (0)