fix publish script

This commit is contained in:
Alex Bezdieniezhnykh
2025-04-24 22:07:34 +03:00
parent 4ae25ceecf
commit 5ff4ee58b9
4 changed files with 6 additions and 10 deletions
@@ -45,7 +45,7 @@ public class InferenceClient : IInferenceClient
process.OutputDataReceived += (_, e) => { if (e.Data != null) Console.WriteLine(e.Data); }; process.OutputDataReceived += (_, e) => { if (e.Data != null) Console.WriteLine(e.Data); };
process.ErrorDataReceived += (_, e) => { if (e.Data != null) Console.WriteLine(e.Data); }; process.ErrorDataReceived += (_, e) => { if (e.Data != null) Console.WriteLine(e.Data); };
//process.Start(); process.Start();
} }
catch (Exception e) catch (Exception e)
{ {
-2
View File
@@ -4,8 +4,6 @@ from PyInstaller.utils.hooks import collect_all
datas = [] datas = []
binaries = [] binaries = []
hiddenimports = ['constants', 'annotation', 'credentials', 'file_data', 'user', 'security', 'secure_model', 'cdn_manager', 'api_client', 'hardware_service', 'remote_command', 'ai_config', 'inference_engine', 'inference', 'remote_command_handler'] hiddenimports = ['constants', 'annotation', 'credentials', 'file_data', 'user', 'security', 'secure_model', 'cdn_manager', 'api_client', 'hardware_service', 'remote_command', 'ai_config', 'inference_engine', 'inference', 'remote_command_handler']
tmp_ret = collect_all('pyyaml')
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]
tmp_ret = collect_all('jwt') tmp_ret = collect_all('jwt')
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2] datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]
tmp_ret = collect_all('requests') tmp_ret = collect_all('requests')
+2 -2
View File
@@ -74,7 +74,7 @@
BorderBrush="DimGray" BorderBrush="DimGray"
BorderThickness="0,0,0,1" BorderThickness="0,0,0,1"
HorizontalAlignment="Left" HorizontalAlignment="Left"
Text="admin@azaion.com" Text=""
/> />
<TextBlock Text="Пароль" <TextBlock Text="Пароль"
Grid.Row="2" Grid.Row="2"
@@ -89,7 +89,7 @@
Width="300" Width="300"
BorderThickness="0,0,0,1" BorderThickness="0,0,0,1"
HorizontalAlignment="Left" HorizontalAlignment="Left"
Password="Az@1on1000Odm$n"/> Password=""/>
</Grid> </Grid>
<Button x:Name="LoginBtn" <Button x:Name="LoginBtn"
Content="Вхід" Content="Вхід"
+3 -5
View File
@@ -75,8 +75,7 @@ cd..
echo Download onnx model echo Download onnx model
cd build cd build
call cdn_manager.exe download models call cdn_manager.exe download models
move models ..\dist\
move azaion.* ..\dist\
cd.. cd..
echo Copy ico echo Copy ico
@@ -88,7 +87,6 @@ copy %cudnn-folder%\* dist\*
@REM don't need @REM don't need
del dist\cudnn_adv64_9.dll del dist\cudnn_adv64_9.dll
set DESTINATION=dist\gps-denied\ set DESTINATION=dist\gps-denied\
rd /S /Q %DESTINATION% rd /S /Q %DESTINATION%
@@ -105,5 +103,5 @@ copy C:\Qt\6.9.0\msvc2022_64\bin\Qt6Core.dll %DESTINATION%
mkdir %DESTINATION%\models mkdir %DESTINATION%\models
copy ..\gps-denied-work\models\* %DESTINATION%\models copy ..\gps-denied-work\models\* %DESTINATION%\models
@REM echo building installer... echo building installer...
@REM iscc build\installer.iss iscc build\installer.iss