tangled
alpha
login
or
join now
zio.sh
/
atfile
37
fork
atom
๐ฆโ๐ฆ Store and retrieve files on the Atmosphere
37
fork
atom
overview
issues
3
pulls
pipelines
handle: improve variable name
ducky.ws
5 months ago
e2eec51e
bee77729
1/1
build.yaml
success
7s
+2
-2
1 changed file
expand all
collapse all
unified
split
src
commands
handle.sh
+2
-2
src/commands/handle.sh
reviewed
···
8
8
handler="${1//.desktop/}"
9
9
type="$2"
10
10
11
11
-
handlers=(
11
11
+
handlers_needing_tmp_file=(
12
12
"app.drey.EarTag"
13
13
"com.github.neithern.g4music"
14
14
)
15
15
16
16
-
if [[ ${handlers[*]} =~ $handler ]]; then
16
16
+
if [[ ${handlers_needing_tmp_file[*]} =~ $handler ]]; then
17
17
echo 1
18
18
elif [[ $type == "text/"* ]]; then
19
19
echo 1