Skip to content

Commit

Permalink
Added AppImage yml files
Browse files Browse the repository at this point in the history
  • Loading branch information
orschiro committed Mar 17, 2017
1 parent 39c688f commit 119c08c
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
35 changes: 35 additions & 0 deletions show_state.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
app: dslli-indicator

ingredients:
dist: trusty
sources:
- deb http://archive.ubuntu.com/ubuntu/ trusty main universe
packages:
- python3-minimal
- python3-gi
- python3-click
- python3-gi-cairo
- python3-cairo
- gir1.2-gtk-3.0
script:
- wget -c https://github.com/orschiro/dslli/archive/master.zip
- unzip master.zip

script:
- cat > dslli-indicator.desktop <<EOF
- [Desktop Entry]
- Type=Application
- Name=dslli-indicator
- Icon=dslli-indicator
- Exec=dslli-indicator
- Categories=Utility;
- EOF
- cp ../dslli-master/* usr/bin/
- cp usr/bin/green.png usr/share/icons/hicolor/24x24/dslli-indicator.png
- cp usr/bin/green.png usr/share/icons/hicolor/24x24/green.png
- cp usr/bin/nocolor.png usr/share/icons/hicolor/24x24/nocolor.png
- cp usr/share/icons/hicolor/24x24/dslli-indicator.png .
- cp usr/share/icons/hicolor/24x24/green.png .
- cp usr/share/icons/hicolor/24x24/nocolor.png .
- ( cd usr/bin/ ; ln -s show_state.py dslli-indicator )
- chmod a+x usr/bin/show_state.py
27 changes: 27 additions & 0 deletions toggle_lid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
app: dslli

ingredients:
dist: trusty
sources:
- deb http://archive.ubuntu.com/ubuntu/ trusty main universe
packages:
- python3-minimal
script:
- wget -c https://github.com/orschiro/dslli/archive/master.zip
- unzip master.zip

script:
- cat > dslli.desktop <<EOF
- [Desktop Entry]
- Type=Application
- Name=dslli
- Icon=dslli
- Exec=dslli
- Categories=Utility;
- EOF
- cp ../dslli-master/* usr/bin/
- cp usr/bin/green.png usr/share/icons/hicolor/24x24/dslli.png
- cp usr/share/icons/hicolor/24x24/dslli.png .
- cp ../dslli-master/* usr/bin/
- ( cd usr/bin/ ; ln -s toggle_lid.py dslli )
- chmod a+x usr/bin/toggle_lid.py

0 comments on commit 119c08c

Please sign in to comment.