This repository has been archived by the owner on Dec 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix yaml lint issues @travis * Add flameshot-launch: fixes theme and app indicator on core18 * Using upstream for desktop file and icon * Update snap to new standards - Closes #6 - Closes #7 - Desktop file pulled from Upstream. - Icon pulled from Upstream. - Enchanced themeing. - Bump base to Core18. * Update travis to support core18 base
- Loading branch information
1 parent
329aa64
commit 07ee0b4
Showing
12 changed files
with
234 additions
and
121 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
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
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 |
---|---|---|
@@ -1,16 +1,6 @@ | ||
#!/bin/bash -- | ||
|
||
set -e | ||
docker exec -i snap-builder snapcraft clean | ||
docker exec -i snap-builder snapcraft | ||
|
||
# docker exec -i snap-builder snapcraft enable-ci travis --refresh | ||
|
||
# move snap package | ||
RESULT_PATH="${SRC_PATH}"/results | ||
mkdir "${RESULT_PATH}" | ||
|
||
cd flameshot | ||
docker exec -i snap-builder sh -c "mv flameshot*.snap flameshot-app_amd64.snap" | ||
# docker cp still doesn't support wildcards | ||
docker cp snap-builder:$SRC_PATH/flameshot-app_amd64.snap $RESULT_PATH/flameshot-app_${VERSION}_amd64.snap | ||
mkdir -p "$TRAVIS_BUILD_DIR/snaps-cache" | ||
sudo snapcraft --use-lxd |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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,16 @@ | ||
# /snap/local/launchers | ||
|
||
Here are the launchers, or wrapper programs to deal with some runtime-fixable | ||
problems for the snapped applications, like setting proper environmental | ||
variables in snap. | ||
|
||
In convention launchers are named _something_-launch, for dealing certain | ||
problem with _something_, and usually can be called in a stacked manner to | ||
consolidate their modifications. | ||
|
||
```yaml | ||
apps: | ||
_app_name_: | ||
command: foo-launch bar-launch _app_command_ | ||
``` | ||
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,24 @@ | ||
#!/usr/bin/env bash | ||
|
||
# This is the maintainence launcher for the snap, make necessary runtime | ||
# environment changes to make the snap work here. You may also insert security | ||
# confinement/deprecation/obsoletion notice of the snap here. | ||
|
||
set \ | ||
-o errexit \ | ||
-o errtrace \ | ||
-o nounset \ | ||
-o pipefail | ||
|
||
# gtk-common-themes support | ||
export QT_QPA_PLATFORMTHEME=gtk3 | ||
# Correct the TMPDIR path for Chromium Framework/Electron to | ||
# ensure libappindicator has readable resources | ||
export TMPDIR=$XDG_RUNTIME_DIR | ||
# Coerce XDG_CURRENT_DESKTOP to Unity so that App Indicators | ||
# are used and do not fall back to Notification Area applets | ||
# or disappear completely. | ||
export XDG_CURRENT_DESKTOP=Unity | ||
|
||
# Finally run the next part of the command chain | ||
exec "${@}" |
Oops, something went wrong.