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