mirror of
https://github.com/Ximi1970/systray-x.git
synced 2025-10-26 00:36:07 +02:00
Update reg generation
This commit is contained in:
@@ -140,6 +140,7 @@ win32: {
|
||||
JSON_JSON_PATH = $$system(powershell -Command "('$$shell_path($${_PRO_FILE_PWD_}/../../config/win32/SysTray_X.json)').replace('\\','\\\\')")
|
||||
|
||||
QMAKE_POST_LINK += powershell -Command \"(Get-Content \'$$shell_path($${_PRO_FILE_PWD_}/../../config/win32/SysTray-X-User.reg.template)\' ).replace(\'SYSTRAY_X_JSON_PATH\',\'$$JSON_JSON_PATH\') | Set-Content \'$$shell_path($${_PRO_FILE_PWD_}/../../config/win32/SysTray-X-User.reg)\'\" &
|
||||
QMAKE_POST_LINK += powershell -Command \"(Get-Content \'$$shell_path($${_PRO_FILE_PWD_}/../../config/win32/SysTray-X-System.reg.template)\' ).replace(\'SYSTRAY_X_JSON_PATH\',\'$$JSON_JSON_PATH\') | Set-Content \'$$shell_path($${_PRO_FILE_PWD_}/../../config/win32/SysTray-X-System.reg)\'\" &
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
5
app/config/win32/SysTray-X-System.reg.example
Normal file
5
app/config/win32/SysTray-X-System.reg.example
Normal file
@@ -0,0 +1,5 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
|
||||
[HKEY_LOCAL_MACHINE\Software\Mozilla\NativeMessagingHosts\SysTray_X]
|
||||
@="C:\\Projects\\Github\\Ximi1970\\systray-x\\app\\SysTray-X\\..\\config\\win32\\SysTray_X.json"
|
||||
|
||||
5
app/config/win32/SysTray-X-System.reg.template
Normal file
5
app/config/win32/SysTray-X-System.reg.template
Normal file
@@ -0,0 +1,5 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
|
||||
[HKEY_LOCAL_MACHINE\Software\Mozilla\NativeMessagingHosts\SysTray_X]
|
||||
@="SYSTRAY_X_JSON_PATH"
|
||||
|
||||
Reference in New Issue
Block a user