ahmadali shafiee
0f08d0882a
fix coding style
Signed-off-by: ahmadali shafiee <mail@ahmadalli.net>
5 years ago
ahmadali shafiee
8b6088d4a1
create proper key if different key exists on registry
Signed-off-by: ahmadali shafiee <mail@ahmadalli.net>
5 years ago
ahmadali shafiee
96650a1f6c
combine foreaches
Signed-off-by: ahmadali shafiee <mail@ahmadalli.net>
5 years ago
ahmadali shafiee
753d7709d5
move duplicate key checking to `Check` method
Signed-off-by: ahmadali shafiee <mail@ahmadalli.net>
5 years ago
ahmadali shafiee
344c95e52c
remove duplicate startup entries
fixes #3011
Signed-off-by: ahmadali shafiee <mail@ahmadalli.net>
5 years ago
Student Main
ced49e2de1
use single method to get ExecutablePath
5 years ago
celeron533
84c55d116d
WIP: Migrate to NLog
6 years ago
Damir Ainullin
5a2adf749c
Added flag RESTART_ALWAYS = 0 for ApplicationRestartFlags
7 years ago
Damir Ainullin
7ed2434db7
Marked ApplicationRestartFlags with Flags attribute
7 years ago
Student Main
447632ff07
set command line parameter when register restart, for future
7 years ago
Student Main
207a977e4a
Fix typo
7 years ago
Student Main
5e0ccffa96
Register restart after system reboot, #2154
7 years ago
Syrone Wong
4407095d01
Fix auto startup
other minor cleanup
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
4b99a5c210
Make registry opening more generic
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
13ebb5ef01
Fix RegistryKey dispose
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
6a26436850
Refine Windows registry handling( #512 )
- Added a util function to handle x86 and x64
currently, we only handle keys in HKCU
- Close registry key after operations
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Licshee
413803c56f
fix case-insensitive behavior
10 years ago
Licshee
24609bf53b
never use string.Equals(string) if you don't know what you are doing
10 years ago
Gang Zhuo
092d1168ff
start all instances on boot under portable model
10 years ago
clowwindy
4afd5faf3f
add load balancing
11 years ago