"me-web?" 0.13.0: updates on Linux arrive through your package manager
- Installing the deb or the rpm now also adds the Arasaka package repository, packages.arasaka.software, so later versions of “me-web?” arrive through apt, dnf, zypper or your software centre, like any other program. - The rpm is now signed. On openSUSE, import the key once with sudo rpm --import https://packages.arasaka.software/arasaka.asc - Removing the package keeps the repository until no Arasaka package is left (purge on Debian and Ubuntu); a repository file you edited by hand is never touched. - The download and privacy pages say so; the repository server keeps no access log. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012CzABvBkbcFqoHdmi8b9WB
This commit is contained in:
1 parent
50c40195d3
commit
91c92c80e9
9 files changed
+171
-9
No files matched your search
+10
-4
@@ -138,14 +138,16 @@ string Linux()
|
||||
StartupWMClass=meweb
|
||||
|
||||
""");
|
||||
File.WriteAllText(Path.Combine(stage, "postinstall.sh"), """
|
||||
var caches = """
|
||||
#!/bin/sh
|
||||
if command -v update-desktop-database >/dev/null 2>&1; then update-desktop-database -q /usr/share/applications || true; fi
|
||||
if command -v gtk-update-icon-cache >/dev/null 2>&1; then gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor || true; fi
|
||||
exit 0
|
||||
|
||||
""");
|
||||
File.Copy(Path.Combine(stage, "postinstall.sh"), Path.Combine(stage, "postremove.sh"), overwrite: true);
|
||||
""";
|
||||
var kit = File.ReadAllText(Path.Combine(root, "packaging", "arasaka-repository.sh"));
|
||||
File.WriteAllText(Path.Combine(stage, "postinstall.sh"), $"{caches}{kit}arasaka_repository_configure \"$@\"\nexit 0\n");
|
||||
File.WriteAllText(Path.Combine(stage, "postremove.sh"), $"{caches}{kit}arasaka_repository_cleanup \"$@\"\nexit 0\n");
|
||||
File.WriteAllText(Path.Combine(stage, "arasaka-repository"), "");
|
||||
var png = Path.Combine(branding, "meweb-512.png");
|
||||
var svg = Path.Combine(branding, "meweb.svg");
|
||||
var yaml = Path.Combine(stage, "nfpm.yaml");
|
||||
@@ -183,6 +185,10 @@ string Linux()
|
||||
dst: /usr/share/icons/hicolor/scalable/apps/software.arasaka.meweb.svg
|
||||
file_info:
|
||||
mode: 0644
|
||||
- src: {stage}/arasaka-repository
|
||||
dst: /usr/share/arasaka-repository/meweb
|
||||
file_info:
|
||||
mode: 0644
|
||||
scripts:
|
||||
postinstall: {stage}/postinstall.sh
|
||||
postremove: {stage}/postremove.sh
|
||||
|
||||
+2
-1
@@ -8,9 +8,10 @@ done
|
||||
if [ -z "$dotnet_dir" ]; then
|
||||
dotnet_dir="$HOME/.dotnet"
|
||||
echo ".NET SDK $sdk not found: installing it into $dotnet_dir"
|
||||
script="${TMPDIR:-/tmp}/dotnet-install.sh"
|
||||
script=$(mktemp "${TMPDIR:-/tmp}/dotnet-install.XXXXXX")
|
||||
curl -fsSL https://dot.net/v1/dotnet-install.sh -o "$script"
|
||||
bash "$script" --version "$sdk" --install-dir "$dotnet_dir"
|
||||
rm -f "$script"
|
||||
fi
|
||||
export DOTNET_ROOT="$dotnet_dir" PATH="$dotnet_dir:$PATH" DOTNET_CLI_TELEMETRY_OPTOUT=1 DOTNET_NOLOGO=1
|
||||
cd "$root"
|
||||
Reference in new issue
Block a user