1 Star 0 Fork 0

出言不逊的无雨/filesync

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
rcedit.js 791 Bytes
一键复制 编辑 原始数据 按行查看 历史
出言不逊的无雨 提交于 2024-05-22 15:03 . 重新提交
const rcedit = require("rcedit");
const options = {
"version-string": {
ProductName: "filesync",
FileDescription: "一个简单的文件/文字同步工具",
FileVersion: "5.0.0",
ProductVersion: "5.0.0",
OriginalFilename: "filesync.exe",
InternalName: "filesync.exe",
CompanyName: "unknown",
LegalCopyright:"Copyright © 2023-2024 NoRain"
},
"file-version": "3.14159.26535.897.932.384.626",
"product-version": "5.0.0",
icon: "./dist/client/favicon.ico",
};
const exePath = ".pkg-cache/v3.4/built-v16.16.0-win-x64";
async function main() {
try {
await rcedit(exePath, options);
console.log("Executable file has been updated.");
} catch (error) {
console.error("Error while updating executable file:", error);
}
}
main();
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/NoRainLand/filesync.git
[email protected]:NoRainLand/filesync.git
NoRainLand
filesync
filesync
main

搜索帮助