mirror of
https://github.com/Simplxss/SignerServer.git
synced 2024-11-21 00:37:53 +08:00
use let instead of var
This commit is contained in:
parent
cd0dfe43b7
commit
b66ccb1f72
5
load.js
5
load.js
@ -3,10 +3,9 @@ const os = require('node:os');
|
|||||||
|
|
||||||
const exePath = path.dirname(process.execPath);
|
const exePath = path.dirname(process.execPath);
|
||||||
|
|
||||||
var QQWrapper;
|
let QQWrapper, appid, qua;
|
||||||
const qqPkgInfo = require(path.join(exePath, "resources/app/package.json"));
|
const qqPkgInfo = require(path.join(exePath, "resources/app/package.json"));
|
||||||
var appid;
|
|
||||||
var qua;
|
|
||||||
if (os.platform() === "win32") {
|
if (os.platform() === "win32") {
|
||||||
QQWrapper = require(path.join(exePath, "resources/app/versions", qqPkgInfo.version, "wrapper.node"));
|
QQWrapper = require(path.join(exePath, "resources/app/versions", qqPkgInfo.version, "wrapper.node"));
|
||||||
appid = "537213803";
|
appid = "537213803";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user