mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-05 23:19:37 +00:00
refactor: Remove random os hostname
This commit is contained in:
parent
10e96f63b4
commit
c5917e6207
@ -6,8 +6,7 @@ let osName: string;
|
||||
try {
|
||||
osName = os.hostname();
|
||||
} catch (e) {
|
||||
osName = 'NapCat ' + crypto.randomUUID().substring(0, 4);
|
||||
|
||||
osName = 'NapCat'; // + crypto.randomUUID().substring(0, 4);
|
||||
}
|
||||
export const systemPlatform = os.platform();
|
||||
export const cpuArch = os.arch();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user