Skip to content

Commit c96cb8c

Browse files
committed
icon bug fixing
1 parent f3ee065 commit c96cb8c

4 files changed

Lines changed: 247 additions & 238 deletions

File tree

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ def genereate_mo_files():
4141
["tr.org.pardus.android.emulator.desktop"]), # /usr/share/icons
4242

4343
("/usr/share/icons",
44-
["data/pardus-android-emulator.svg"]), #
44+
["data/pardus-android-emulator.svg"]),
45+
46+
("/usr/share/icons/hicolor/scalable/apps/",
47+
["data/pardus-android-emulator.svg"]),
48+
4549

4650

4751
("/usr/share/pardus/pardus-android-emulator/ui",

src/Istaller.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ def check_sdkm(self):
3535
shutil.rmtree(co.HOME+"/.android-emulator")
3636
return False
3737

38-
def install_sdkmanager(self):
38+
def install_sdkmanager(self,fill_sdk):
3939
self.cmdline_tool_init()
40+
self.fill_sdk=fill_sdk
4041
url = self.get_processed_url()
4142
self.downloader = AsyncFileDownloader(url)
4243
threading.Thread(target=self.download).start()
@@ -46,7 +47,7 @@ def download(self):
4647

4748
async def main(self):
4849
comand_runner = CommandRunner(
49-
co.cmd_install_sdk_maanger, self.lb_subpro_output, self.lb_wait_status, fun_with_output=[self.get_andorio_list])
50+
co.cmd_install_sdk_maanger, self.lb_subpro_output, self.lb_wait_status, fun_with_output=[self.get_andorio_list,self.fill_sdk])
5051
await self.downloader.download_file("/tmp/cmdline-tools.zip", "/tmp/cmdline-tools.zip",
5152
co.SDK, self.lb_subpro_output, self.lb_wait_status,f_update=comand_runner.run)
5253
# ? install sdk manager

tr.org.pardus.android.emulator.desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ GenericName[tr]=Pardus Android Emülatörü
66
Comment=Generate an Android Emulator easily.
77
Comment[tr]=Kolayca Android Emulatör oluşturun
88
Exec=pardus-android-emulator
9-
Icon=pardus-android-emulator.svg
9+
Icon=pardus-android-emulator
1010
Terminal=false
1111
Type=Application
1212
Categories=GTK;System;PackageManager;

0 commit comments

Comments
 (0)