Skip to content

Commit

Permalink
update manifest & install
Browse files Browse the repository at this point in the history
  • Loading branch information
oleole39 committed Nov 27, 2024
1 parent 08dafb1 commit 4180296
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ ram.runtime = "50M"

[resources.sources.ynh_build]
url = "https://github.com/YunoHost-Apps/jsoncrack_ynh/releases/download/v2024.11.19/jsoncrack.com_v2024.11.19_d5f9bfc7_ynh.zip"
sha256 = "a0e1b77a80dd6204438e32aebc8c408f0b294fb4fdc90cc91e00f41d06ab574c"
sha256 = "0a1206c013d399dd937e9464a68929a88cbfcdba32eee2a1ca42af41d02141ec"
format = "zip"
extract = true
in_subdir = true
Expand Down
2 changes: 1 addition & 1 deletion scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ grep -rli '__YNH_DOMAIN____YNH_SUBDIR_PATH__' $install_dir/* | xargs sed -i "s@/
grep -rli '/__YNH_SUBDIR_PATH__' $install_dir/* | xargs sed -i "s@/__YNH_SUBDIR_PATH__@$newpath@g"

# Replace relative link to avoid messing with nginx config
ynh_replace --match='href="/jsoncrack"' --replace='href="#"' --file="$install_dir/editor.html"
#~ ynh_replace --match='href="/jsoncrack"' --replace='href="#"' --file="$install_dir/editor.html"

# Keep only the core app and remove useless files and folders related with upstream website
remove=("404.html" "CNAME" "converter" "docs.html" "index.html" "legal" "robots.txt" "sitemap-0.xml" "sitemap.xml" "tools" "type")
Expand Down

0 comments on commit 4180296

Please sign in to comment.