refactor application.yaml to become an os definition #40
This commit is contained in:
@@ -1,4 +1,22 @@
|
||||
# Structure documented in "docs/application-file.md"
|
||||
os: windows
|
||||
scripting:
|
||||
language: batchfile
|
||||
startCode: |-
|
||||
@echo off
|
||||
:: {{ $homepage }} — v{{ $version }} — {{ $date }}
|
||||
:: Ensure admin privileges
|
||||
fltmc >nul 2>&1 || (
|
||||
echo Administrator privileges are required.
|
||||
PowerShell Start -Verb RunAs '%0' 2> nul || (
|
||||
echo Right-click on the script and select "Run as administrator".
|
||||
pause & exit 1
|
||||
)
|
||||
exit 0
|
||||
)
|
||||
endCode: |-
|
||||
pause
|
||||
exit /b 0
|
||||
actions:
|
||||
-
|
||||
category: Privacy cleanup
|
||||
|
||||
Reference in New Issue
Block a user