diff --git a/Makefile b/Makefile index f9f87f73..35c1d1d8 100644 --- a/Makefile +++ b/Makefile @@ -8,15 +8,15 @@ endif build-windows: @echo ---- build for windows - wails build -ldflags '-s -w -extldflags "-static"' -platform windows/amd64 -devtools -obfuscated -garbleargs="-tiny" -upx -upxflags "-9 --lzma" -nsis + wails build -ldflags '-s -w -extldflags "-static"' -platform windows/amd64 -devtools -upx -upxflags "-9 --lzma" -nsis build-macos: @echo ---- build for macos - wails build -ldflags '-s -w' -platform darwin/universal -devtools -obfuscated -garbleargs="-tiny" + wails build -ldflags '-s -w' -platform darwin/universal -devtools build-linux: @echo ---- build for linux - wails build -ldflags '-s -w' -platform linux/amd64 -devtools -obfuscated -garbleargs="-tiny" -upx -upxflags "-9 --lzma" + wails build -ldflags '-s -w' -platform linux/amd64 -devtools -upx -upxflags "-9 --lzma" build-web: @echo ---- build for web diff --git a/frontend/wailsjs/go/backend_golang/App.js b/frontend/wailsjs/go/backend_golang/App.js index 73e81d96..a480b065 100644 --- a/frontend/wailsjs/go/backend_golang/App.js +++ b/frontend/wailsjs/go/backend_golang/App.js @@ -3,173 +3,173 @@ // This file is automatically generated. DO NOT EDIT export function AddToDownloadList(arg1, arg2) { - return ObfuscatedCall(0, [arg1, arg2]); + return window['go']['backend_golang']['App']['AddToDownloadList'](arg1, arg2); } export function CloseMidiPort() { - return ObfuscatedCall(1, []); + return window['go']['backend_golang']['App']['CloseMidiPort'](); } export function ContinueDownload(arg1) { - return ObfuscatedCall(2, [arg1]); + return window['go']['backend_golang']['App']['ContinueDownload'](arg1); } export function ConvertData(arg1, arg2, arg3, arg4) { - return ObfuscatedCall(3, [arg1, arg2, arg3, arg4]); + return window['go']['backend_golang']['App']['ConvertData'](arg1, arg2, arg3, arg4); } export function ConvertGGML(arg1, arg2, arg3, arg4) { - return ObfuscatedCall(4, [arg1, arg2, arg3, arg4]); + return window['go']['backend_golang']['App']['ConvertGGML'](arg1, arg2, arg3, arg4); } export function ConvertModel(arg1, arg2, arg3, arg4) { - return ObfuscatedCall(5, [arg1, arg2, arg3, arg4]); + return window['go']['backend_golang']['App']['ConvertModel'](arg1, arg2, arg3, arg4); } export function ConvertSafetensors(arg1, arg2) { - return ObfuscatedCall(6, [arg1, arg2]); + return window['go']['backend_golang']['App']['ConvertSafetensors'](arg1, arg2); } export function ConvertSafetensorsWithPython(arg1, arg2, arg3) { - return ObfuscatedCall(7, [arg1, arg2, arg3]); + return window['go']['backend_golang']['App']['ConvertSafetensorsWithPython'](arg1, arg2, arg3); } export function CopyFile(arg1, arg2) { - return ObfuscatedCall(8, [arg1, arg2]); + return window['go']['backend_golang']['App']['CopyFile'](arg1, arg2); } export function DeleteFile(arg1) { - return ObfuscatedCall(9, [arg1]); + return window['go']['backend_golang']['App']['DeleteFile'](arg1); } export function DepCheck(arg1) { - return ObfuscatedCall(10, [arg1]); + return window['go']['backend_golang']['App']['DepCheck'](arg1); } export function DownloadFile(arg1, arg2) { - return ObfuscatedCall(11, [arg1, arg2]); + return window['go']['backend_golang']['App']['DownloadFile'](arg1, arg2); } export function FileExists(arg1) { - return ObfuscatedCall(12, [arg1]); + return window['go']['backend_golang']['App']['FileExists'](arg1); } export function GetAbsPath(arg1) { - return ObfuscatedCall(13, [arg1]); + return window['go']['backend_golang']['App']['GetAbsPath'](arg1); } export function GetPlatform() { - return ObfuscatedCall(14, []); + return window['go']['backend_golang']['App']['GetPlatform'](); } export function GetProxyPort() { - return ObfuscatedCall(15, []); + return window['go']['backend_golang']['App']['GetProxyPort'](); } export function GetPyError() { - return ObfuscatedCall(16, []); + return window['go']['backend_golang']['App']['GetPyError'](); } export function InstallPyDep(arg1, arg2) { - return ObfuscatedCall(17, [arg1, arg2]); + return window['go']['backend_golang']['App']['InstallPyDep'](arg1, arg2); } export function IsPortAvailable(arg1) { - return ObfuscatedCall(18, [arg1]); + return window['go']['backend_golang']['App']['IsPortAvailable'](arg1); } export function ListDirFiles(arg1) { - return ObfuscatedCall(19, [arg1]); + return window['go']['backend_golang']['App']['ListDirFiles'](arg1); } export function MergeLora(arg1, arg2, arg3, arg4, arg5, arg6) { - return ObfuscatedCall(20, [arg1, arg2, arg3, arg4, arg5, arg6]); + return window['go']['backend_golang']['App']['MergeLora'](arg1, arg2, arg3, arg4, arg5, arg6); } export function OpenFileFolder(arg1) { - return ObfuscatedCall(21, [arg1]); + return window['go']['backend_golang']['App']['OpenFileFolder'](arg1); } export function OpenMidiPort(arg1) { - return ObfuscatedCall(22, [arg1]); + return window['go']['backend_golang']['App']['OpenMidiPort'](arg1); } export function OpenOpenFileDialog(arg1) { - return ObfuscatedCall(23, [arg1]); + return window['go']['backend_golang']['App']['OpenOpenFileDialog'](arg1); } export function OpenSaveFileDialog(arg1, arg2, arg3) { - return ObfuscatedCall(24, [arg1, arg2, arg3]); + return window['go']['backend_golang']['App']['OpenSaveFileDialog'](arg1, arg2, arg3); } export function OpenSaveFileDialogBytes(arg1, arg2, arg3) { - return ObfuscatedCall(25, [arg1, arg2, arg3]); + return window['go']['backend_golang']['App']['OpenSaveFileDialogBytes'](arg1, arg2, arg3); } export function PauseDownload(arg1) { - return ObfuscatedCall(26, [arg1]); + return window['go']['backend_golang']['App']['PauseDownload'](arg1); } export function PlayNote(arg1) { - return ObfuscatedCall(27, [arg1]); + return window['go']['backend_golang']['App']['PlayNote'](arg1); } export function ReadFileInfo(arg1) { - return ObfuscatedCall(28, [arg1]); + return window['go']['backend_golang']['App']['ReadFileInfo'](arg1); } export function ReadJson(arg1) { - return ObfuscatedCall(29, [arg1]); + return window['go']['backend_golang']['App']['ReadJson'](arg1); } export function RestartApp() { - return ObfuscatedCall(30, []); + return window['go']['backend_golang']['App']['RestartApp'](); } export function SaveFile(arg1, arg2) { - return ObfuscatedCall(31, [arg1, arg2]); + return window['go']['backend_golang']['App']['SaveFile'](arg1, arg2); } export function SaveJson(arg1, arg2) { - return ObfuscatedCall(32, [arg1, arg2]); + return window['go']['backend_golang']['App']['SaveJson'](arg1, arg2); } export function StartFile(arg1) { - return ObfuscatedCall(33, [arg1]); + return window['go']['backend_golang']['App']['StartFile'](arg1); } export function StartServer(arg1, arg2, arg3, arg4, arg5, arg6, arg7) { - return ObfuscatedCall(34, [arg1, arg2, arg3, arg4, arg5, arg6, arg7]); + return window['go']['backend_golang']['App']['StartServer'](arg1, arg2, arg3, arg4, arg5, arg6, arg7); } export function StartWebGPUServer(arg1, arg2) { - return ObfuscatedCall(35, [arg1, arg2]); + return window['go']['backend_golang']['App']['StartWebGPUServer'](arg1, arg2); } export function UpdateApp(arg1) { - return ObfuscatedCall(36, [arg1]); + return window['go']['backend_golang']['App']['UpdateApp'](arg1); } export function WslCommand(arg1) { - return ObfuscatedCall(37, [arg1]); + return window['go']['backend_golang']['App']['WslCommand'](arg1); } export function WslEnable(arg1) { - return ObfuscatedCall(38, [arg1]); + return window['go']['backend_golang']['App']['WslEnable'](arg1); } export function WslInstallUbuntu() { - return ObfuscatedCall(39, []); + return window['go']['backend_golang']['App']['WslInstallUbuntu'](); } export function WslIsEnabled() { - return ObfuscatedCall(40, []); + return window['go']['backend_golang']['App']['WslIsEnabled'](); } export function WslStart() { - return ObfuscatedCall(41, []); + return window['go']['backend_golang']['App']['WslStart'](); } export function WslStop() { - return ObfuscatedCall(42, []); + return window['go']['backend_golang']['App']['WslStop'](); }