-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Failed to execute script main when startup.
- Loading branch information
Showing
37 changed files
with
143 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Publish to Snapcraft | ||
on: | ||
release: | ||
types: [released] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: snapcore/action-build@v1 | ||
id: build | ||
- uses: snapcore/action-publish@v1 | ||
env: | ||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }} | ||
with: | ||
snap: ${{ steps.build.outputs.snap }} | ||
release: stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,15 +17,15 @@ | |
""" | ||
|
||
__VERSION__ = """ | ||
v2.8.41-x3d3s3-stable | ||
v2.8.42-x3d3s3-stable | ||
""" | ||
|
||
__AUTHOR__ = """ | ||
Eigenmiao ([email protected]) | ||
""" | ||
|
||
__DATE__ = """ | ||
October 15, 2023 | ||
January 7, 2024 | ||
""" | ||
|
||
__HELP__ = """ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
|
||
setup( | ||
name="Rickrack", | ||
version="2.8.41", | ||
version="2.8.42", | ||
author="Eigenmiao", | ||
author_email="[email protected]", | ||
description="Generate harmonious colors freely.", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[Desktop Entry] | ||
Terminal=false | ||
Name=Rickrack | ||
Exec=rickrack | ||
Icon=${SNAP}/meta/gui/rickrack.png | ||
Type=Application |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
name: rickrack | ||
version: 2.8.42 | ||
summary: Generate harmonious colors freely. | ||
description: | | ||
Rickrack is a free and open-source color palette generator. It provides various functionalities to generate a harmonious set of colors, offering you better color combination options. You can easily obtain the desired color combinations through color wheel selection, color picking from images, and more. It offers support for various color palette formats like aco, ase, gpl, and xml, making them easily importable into popular image processing software such as Photoshop, Clip Studio Paint, GIMP, Krita, and Inkscape. You can apply these colors to your own creations or share them with others. | ||
grade: stable | ||
base: core20 | ||
confinement: strict | ||
|
||
parts: | ||
rickrack: | ||
plugin: dump | ||
source: https://github.com/eigenmiao/Rickrack/releases/download/v$SNAPCRAFT_PROJECT_VERSION/Rickrack_v$SNAPCRAFT_PROJECT_VERSION_en_linux_x86_64.tar.gz | ||
override-stage: | | ||
snapcraftctl stage | ||
echo "{\"store_loc\": false}" > $SNAPCRAFT_STAGE/settings.json | ||
stage-packages: | ||
- libasound2 | ||
- libasyncns0 | ||
- libdouble-conversion1v5 | ||
- libdrm2 | ||
- libfcitx-qt5-1 | ||
- libflac8 | ||
- libgtk-3-0 | ||
- libice6 | ||
- libicu55 | ||
- libjson-c2 | ||
- libogg0 | ||
- libpcre16-3 | ||
- libproxy1v5 | ||
- libpulse-mainloop-glib0 | ||
- libpulse0 | ||
- libsm6 | ||
- libsndfile1 | ||
- libtinfo5 | ||
- libvorbis0a | ||
- libvorbisenc2 | ||
- libxcb-dri2-0 | ||
- libxcb-dri3-0 | ||
- libxcb-xinerama0 | ||
- libxcb1 | ||
- appmenu-qt5 | ||
- xdg-user-dirs | ||
- mesa-utils | ||
- libgl1-mesa-dri | ||
- libgl1-mesa-glx | ||
- gstreamer1.0-plugins-base | ||
- gstreamer1.0-plugins-good | ||
|
||
slots: | ||
dbus-rickrack: | ||
interface: dbus | ||
bus: session | ||
name: com.eigenmiao.rickrack | ||
|
||
apps: | ||
rickrack: | ||
environment: | ||
LD_LIBRARY_PATH: $SNAP:$LD_LIBRARY_PATH | ||
PATH: $SNAP:$PATH | ||
QML2_IMPORT_PATH: $SNAP/PyQt5/Qt/qml:$QML2_IMPORT_PATH | ||
QT_PLUGIN_PATH: $SNAP/PyQt5/Qt/plugins:$QT_PLUGIN_PATH | ||
QT_LINUX_ACCESSIBILITY_ALWAYS_ON: 1 | ||
QT_QPA_PLATFORMTHEME: appmenu-qt5 | ||
QT_ACCESSIBILITY: 1 | ||
QT_IM_MODULE: fcitx | ||
command: Rickrack | ||
plugs: | ||
- desktop | ||
- framebuffer | ||
- camera | ||
- network | ||
- home | ||
- opengl | ||
- x11 | ||
- desktop-legacy | ||
slots: | ||
- dbus-rickrack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,23 +9,23 @@ | |
""" | ||
|
||
__COPYRIGHT__ = """ | ||
Copyright (c) 2019-2023 by Eigenmiao. All Rights Reserved. | ||
Copyright (c) 2019-2024 by Eigenmiao. All Rights Reserved. | ||
""" | ||
|
||
__WEBSITE__ = """ | ||
https://github.com/eigenmiao/Rickrack | ||
""" | ||
|
||
__VERSION__ = """ | ||
v2.8.41-x3d3s3-stable | ||
v2.8.42-x3d3s3-stable | ||
""" | ||
|
||
__AUTHOR__ = """ | ||
Eigenmiao ([email protected]) | ||
""" | ||
|
||
__DATE__ = """ | ||
October 15, 2023 | ||
October 15, 2024 | ||
""" | ||
|
||
__HELP__ = """ | ||
|
@@ -751,7 +751,7 @@ def _change_layout(self, layout_src=""): | |
Change layout. | ||
""" | ||
|
||
if isinstance(layout_src, str) and self._args.geometry_args: | ||
if isinstance(layout_src, str) and os.path.isfile(self._args.geometry_args): | ||
main_win_layout = 0 | ||
main_win_state = self._geo_args.value('main_win_state', None) | ||
main_win_geometry = self._geo_args.value('main_win_geometry', None) | ||
|
@@ -795,9 +795,6 @@ def _load_last_work(self): | |
else: | ||
store_path = self._args.usr_store | ||
|
||
if not os.path.isdir(os.sep.join((store_path, "MyColors"))): | ||
os.makedirs(os.sep.join((store_path, "MyColors"))) | ||
|
||
if os.path.isfile(os.sep.join((store_path, "depot.json"))) and self._sys_argv["reset"] not in ("depot", "work", "all"): | ||
self._wget_operation.dp_open(os.sep.join((store_path, "depot.json"))) | ||
|
||
|
@@ -1902,7 +1899,11 @@ def closeEvent(self, event): | |
print("+") | ||
|
||
if self._save_settings_before_close and not self._sys_argv["temporary"]: | ||
self.save_main_settings() | ||
try: | ||
self.save_main_settings() | ||
|
||
except Exception as err: | ||
pass | ||
|
||
self._args.remove_temp_dir() | ||
self._wget_wheel.close() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.