-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 新增 README.md 文件,介绍项目背景和安装方法 - 更新 .gitignore 文件,排除构建输出目录 - 移除前端自动生成的 Auth 函数 - 更新 wails.json 配置,修改应用名称和图标
- Loading branch information
Showing
11 changed files
with
66 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
build | ||
build/bin | ||
build/darwin | ||
node_modules | ||
frontend/dist | ||
notes/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
## 谷歌验证器桌面端 | ||
|
||
###### 由于谷歌验证器未提供桌面端端,所选wails简单封装一个使用。已实现基本功能 | ||
|
||
| # | Version | | ||
| ------------ | ------------ | | ||
| Wails | v2.9.2 | | ||
| Go | v1.21.5 | | ||
| Node.js | v20.13.1| | ||
| npm | v10.5.2 | | ||
|
||
## 安装 | ||
|
||
构建请查看[wails 文档](https://wails.io/zh-Hans/docs/introduction) | ||
|
||
1. 执行 `go install github.com/wailsapp/wails/v2/cmd/wails@latest` 安装 Wails CLI。 | ||
2. 执行 `wails build`,即可构建二进制文件 | ||
|
||
## 运行截图 | ||
|
||
<img src="./assets/screenshot/image.png" /> | ||
<img src="./assets/screenshot/image2.png" /> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"fixed": { | ||
"file_version": "{{.Info.ProductVersion}}" | ||
}, | ||
"info": { | ||
"0000": { | ||
"ProductVersion": "{{.Info.ProductVersion}}", | ||
"CompanyName": "{{.Info.CompanyName}}", | ||
"FileDescription": "{{.Info.ProductName}}", | ||
"LegalCopyright": "{{.Info.Copyright}}", | ||
"ProductName": "{{.Info.ProductName}}", | ||
"Comments": "{{.Info.Comments}}" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> | ||
<assemblyIdentity type="win32" name="com.wails.{{.Name}}" version="{{.Info.ProductVersion}}.0" processorArchitecture="*"/> | ||
<dependency> | ||
<dependentAssembly> | ||
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/> | ||
</dependentAssembly> | ||
</dependency> | ||
<asmv3:application> | ||
<asmv3:windowsSettings> | ||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware> <!-- fallback for Windows 7 and 8 --> | ||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">permonitorv2,permonitor</dpiAwareness> <!-- falls back to per-monitor if per-monitor v2 is not supported --> | ||
</asmv3:windowsSettings> | ||
</asmv3:application> | ||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
{ | ||
"$schema": "https://wails.io/schemas/config.v2.json", | ||
"name": "walisapp", | ||
"outputfilename": "walisapp", | ||
"name": "googleValidator", | ||
"outputfilename": "googleValidator", | ||
"frontend:install": "npm install", | ||
"frontend:build": "npm run build", | ||
"frontend:dev:watcher": "npm run dev", | ||
"frontend:dev:serverUrl": "auto", | ||
"build": { | ||
"outputType": "desktop", | ||
"platform": "all", | ||
"icon": { | ||
"windows": "assets/app.ico", | ||
"darwin": "assets/app.icns", | ||
"linux": "assets/app.png" | ||
} | ||
}, | ||
"author": { | ||
"name": "橡皮擦", | ||
"email": "2506152074@qq.com" | ||
} | ||
} | ||
} |