From d7963e80fe244ceaf95a6152e16f35affedccb43 Mon Sep 17 00:00:00 2001 From: Nurul-GC Date: Mon, 8 Mar 2021 12:03:04 +0200 Subject: [PATCH] updating commit --- ap-qt.spec | 34 +++++++++++++++++++ linux-config/adivinhapalavra.desktop | 17 ++++++++++ .../adivinhapalavra.sh | 2 ++ LEIA.txt => windows-config/LEIA.txt | 0 ap.iss => windows-config/ap.iss | 0 5 files changed, 53 insertions(+) create mode 100644 ap-qt.spec create mode 100644 linux-config/adivinhapalavra.desktop rename adivinhapalavra.sh => linux-config/adivinhapalavra.sh (89%) rename LEIA.txt => windows-config/LEIA.txt (100%) rename ap.iss => windows-config/ap.iss (100%) diff --git a/ap-qt.spec b/ap-qt.spec new file mode 100644 index 0000000..5a9bbdc --- /dev/null +++ b/ap-qt.spec @@ -0,0 +1,34 @@ +# -*- mode: python ; coding: utf-8 -*- + +block_cipher = None + + +a = Analysis(['ap-qt.py'], + pathex=['/home/nurul-gc/PycharmProjects/Jogo_Adivinha_Palavra'], + binaries=[], + datas=[], + hiddenimports=[], + hookspath=[], + runtime_hooks=[], + excludes=[], + win_no_prefer_redirects=False, + win_private_assemblies=False, + cipher=block_cipher, + noarchive=False) +pyz = PYZ(a.pure, a.zipped_data, + cipher=block_cipher) +exe = EXE(pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + [], + name='adivinhapalavra', + debug=True, + bootloader_ignore_signals=False, + strip=False, + upx=True, + upx_exclude=[], + runtime_tmpdir=None, + console=False, + ico="img/adivinhapalavra-ico2.png") diff --git a/linux-config/adivinhapalavra.desktop b/linux-config/adivinhapalavra.desktop new file mode 100644 index 0000000..308385a --- /dev/null +++ b/linux-config/adivinhapalavra.desktop @@ -0,0 +1,17 @@ +# Copyright (C) 2019-2021 Nurul GC +# Trademark (TM) ArtesGC +# .desktop for linux version + +[Desktop Entry] +Type=Application +Name=Adivinha Palavra +GenericName=jogo de adivinha +Comment=jogo com objectivo de adivinhar que palavra foi definida letra por letra! +Categories=Game; +Exec="./adivinhapalavra" +Icon="./img/adivinhapalavra-ico2.png" +StartupWMClass=Adivinha Palavra +Terminal=false +Name[pt]=adivinhapalavra.desktop +Path="./" +StartupNotify=true diff --git a/adivinhapalavra.sh b/linux-config/adivinhapalavra.sh similarity index 89% rename from adivinhapalavra.sh rename to linux-config/adivinhapalavra.sh index 7b5cb82..a43de08 100644 --- a/adivinhapalavra.sh +++ b/linux-config/adivinhapalavra.sh @@ -8,3 +8,5 @@ # Allah no Comando. * #******************************************************************************* +ln -f "./adivinhapalavra.desktop" "$HOME/Área\ de\ Trabalho/" +exec ./adivinhapalavra diff --git a/LEIA.txt b/windows-config/LEIA.txt similarity index 100% rename from LEIA.txt rename to windows-config/LEIA.txt diff --git a/ap.iss b/windows-config/ap.iss similarity index 100% rename from ap.iss rename to windows-config/ap.iss