wailsapp / wails

Create beautiful applications using Go
https://wails.io
MIT License
23.22k stars 1.1k forks source link

SQLite database cannot read data #3366

Open 3090015134 opened 2 months ago

3090015134 commented 2 months ago

Description

When obfuscated is set to true in the configuration file wails.json and garbleargs is set, the program built with wails build cannot read the data in the sqlite3 database

To Reproduce

Configure obfuscated to true in the configuration file wails.json and set garbleargs

Expected behaviour

Can read and write sqlite3 database normally

Screenshots

No response

Attempted Fixes

No response

System Details

# Wails
Version | v2.8.0

# System
┌───────────────────────────────────────────────────────────────────────────────────┐
| OS           | Windows 10 Enterprise                                              |
| Version      | 2009 (Build: 22635)                                                |
| ID           | 23H2                                                               |
| Go Version   | go1.21.6                                                           |
| Platform     | windows                                                            |
| Architecture | amd64                                                              |
| CPU          | Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz                          |
| GPU 1        | Virtual Display Device (Huawei) - Driver: 1.0.0.9                  |
| GPU 2        | NVIDIA GeForce MX350 (NVIDIA) - Driver: 31.0.15.5186               |
| GPU 3        | RayLink Virtual Display Adapter (Rayvision) - Driver: 1.0.2.0      |
| GPU 4        | Intel(R) UHD Graphics (Intel Corporation) - Driver: 27.20.100.8984 |
| Memory       | 16GB                                                               |
└───────────────────────────────────────────────────────────────────────────────────┘

# Dependencies
┌───────────────────────────────────────────────────────┐
| Dependency | Package Name | Status    | Version       |
| WebView2   | N/A          | Installed | 123.0.2420.65 |
| Nodejs     | N/A          | Installed | 20.11.0       |
| npm        | N/A          | Installed | 10.2.4        |
| *upx       | N/A          | Available |               |
| *nsis      | N/A          | Available |               |
└─────────────── * - Optional Dependency ───────────────┘

# Diagnosis
Optional package(s) installation details: 
  - upx : Available at https://upx.github.io/
  - nsis : More info at https://wails.io/docs/guides/windows-installer/

Additional context

No response

leaanthony commented 2 months ago

Hi! It looks like you are trying to report a bug but haven't provided enough details. Please make sure your report includes:

fyonecon commented 2 months ago

我用IndexDB存储数据

3090015134 commented 2 months ago

Hi! It looks like you are trying to report a bug but haven't provided enough details. Please make sure your report includes:

  • Clear, reproducible steps that demonstrates the bug
  • Please include the output of wails doctor

https://github.com/3090015134/test.git

Here are the results from Wails Doctor: image

3090015134 commented 2 months ago

我用IndexDB存储数据

是的,我也考虑过。