mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 09:46:30 +00:00
fix config and installer
This commit is contained in:
@@ -18,7 +18,9 @@
|
||||
"LabelsDirectory": "labels",
|
||||
"ImagesDirectory": "images",
|
||||
"ResultsDirectory": "results",
|
||||
"ThumbnailsDirectory": "thumbnails"
|
||||
"ThumbnailsDirectory": "thumbnails",
|
||||
"GpsSatDirectory": "satellitesDir",
|
||||
"GpsRouteDirectory": "routeDir"
|
||||
},
|
||||
"UIConfig": {
|
||||
"LeftPanelWidth": 170.0,
|
||||
|
||||
@@ -34,16 +34,6 @@ class CDNManager:
|
||||
print(e)
|
||||
return False
|
||||
|
||||
def upload(self, bucket: str, filename: str, file_bytes: bytearray):
|
||||
try:
|
||||
self.upload_client.upload
|
||||
self.upload_client.upload_fileobj(io.BytesIO(file_bytes), bucket, filename)
|
||||
print(f'uploaded {filename} ({len(file_bytes)} bytes) to the {bucket}')
|
||||
return True
|
||||
except Exception as e:
|
||||
print(e)
|
||||
return False
|
||||
|
||||
def download(self, bucket: str, filename: str):
|
||||
try:
|
||||
self.download_client.download_file(bucket, filename, filename)
|
||||
|
||||
+2
-2
@@ -1,12 +1,12 @@
|
||||
[Setup]
|
||||
AppId={{CCFEC8E2-0FCC-4B03-8EEA-00AF20D265E5}}
|
||||
AppName=Azaion Suite
|
||||
AppVersion=1.4.2
|
||||
AppVersion=1.4.3
|
||||
AppPublisher=Azaion Ukraine
|
||||
DefaultDirName={localappdata}\Azaion\Azaion Suite
|
||||
DefaultGroupName=Azaion Suite
|
||||
OutputDir=..\
|
||||
OutputBaseFilename=AzaionSuite1.4.2
|
||||
OutputBaseFilename=AzaionSuite1.4.3
|
||||
SetupIconFile=..\dist\logo.ico
|
||||
UninstallDisplayName=Azaion Suite
|
||||
UninstallDisplayIcon={app}\Azaion.Suite.exe
|
||||
|
||||
Reference in New Issue
Block a user