Skip to content

Commit

Permalink
rename app to Quick Web Apps and bump to 0.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
hepp3n committed Jun 5, 2024
1 parent d92eb4d commit 5530eb7
Show file tree
Hide file tree
Showing 15 changed files with 124 additions and 128 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "webapps"
version = "0.4.5"
version = "0.4.6"
edition = "2021"

[[bin]]
path = "src/main.rs"
name = "cosmic-webapps"
name = "quick-webapps"

[profile.dev]
opt-level = 1
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<!--suppress HtmlDeprecatedAttribute -->
<div align="center">
<br>
<img alt="COSMIC Web Apps" src="https://raw.githubusercontent.com/elevenhsoft/WebApps/master/res/icons/hicolor/256x256/apps/io.github.elevenhsoft.WebApps.svg" width="192" />
<h1>COSMIC Web Apps</h1>
<img alt="Quick Web Apps" src="https://raw.githubusercontent.com/elevenhsoft/WebApps/master/res/icons/hicolor/256x256/apps/io.github.elevenhsoft.WebApps.svg" width="192" />
<h1>Quick Web Apps</h1>

<h3>Web App Manager for Cosmic desktop written with love and libcosmic. Allow you to simply create web applications from
given url working inside separate window of your browser of choice.</h3>

<br>

<img alt="COSMIC Web Apps Dark window" src="https://github.com/elevenhsoft/WebApps/blob/master/res/screenshots/window-dark.png" width="192">
<img alt="COSMIC Web Apps Creator" src="https://github.com/elevenhsoft/WebApps/blob/master/res/screenshots/window-creator.png" width="192">
<img alt="COSMIC Web Apps Icon selector" src="https://github.com/elevenhsoft/WebApps/blob/master/res/screenshots/window-icon-picker.png" width="192">
<img alt="Quick Web Apps Dark window" src="https://github.com/elevenhsoft/WebApps/blob/master/res/screenshots/window-dark.png" width="192">
<img alt="Quick Web Apps Creator" src="https://github.com/elevenhsoft/WebApps/blob/master/res/screenshots/window-creator.png" width="192">
<img alt="Quick Web Apps Icon selector" src="https://github.com/elevenhsoft/WebApps/blob/master/res/screenshots/window-icon-picker.png" width="192">

<br><br><br>

Expand Down Expand Up @@ -64,7 +64,7 @@ app.

`sudo just install`

That's all. You can run `COSMIC Web Apps` from you app launcher.
That's all. You can run `Quick Web Apps` from you app launcher.

### Uninstall

Expand Down
2 changes: 1 addition & 1 deletion i18n/en/webapps.ftl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
app=COSMIC Web Apps
app=Quick Web Apps
loading=Loading...
open=Open
number={ $number }
Expand Down
2 changes: 1 addition & 1 deletion i18n/es/webapps.ftl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
app=COSMIC Web Apps
app=Quick Web Apps
loading=Cargando...
open=Abrir
number={ $number }
Expand Down
2 changes: 1 addition & 1 deletion i18n/it/webapps.ftl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
app=COSMIC Web Apps
app=Quick Web Apps
loading=Caricamento in corso...
open=Apri
number={ $number }
Expand Down
2 changes: 1 addition & 1 deletion i18n/pl/webapps.ftl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
app=COSMIC Web Apps
app=Quick Web Apps
loading=Ładowanie...
open=Otwórz
number={ $number }
Expand Down
2 changes: 1 addition & 1 deletion i18n/rs/webapps.ftl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
app=COSMIC Web Apps
app=Quick Web Apps
loading=Очитавање...
open=Отвори
number={ $number }
Expand Down
2 changes: 1 addition & 1 deletion i18n/tr/webapps.ftl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
app=COSMIC Web Apps
app=Quick Web Apps
loading=Yükleniyor...
open=
number={ $number }
Expand Down
110 changes: 55 additions & 55 deletions io.github.elevenhsoft.WebApps.json
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
{
"app-id": "io.github.elevenhsoft.WebApps",
"runtime": "org.freedesktop.Platform",
"runtime-version": "23.08",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"command": "cosmic-webapps",
"finish-args": [
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--device=dri",
"--share=network",
"--filesystem=/var/lib/flatpak:ro",
"--filesystem=~/.var/app:rw",
"--filesystem=~/.local/share/flatpak:ro",
"--filesystem=~/.local/share/applications:rw",
"--filesystem=~/.local/share/icons:create"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin"
},
"modules": [
{
"name": "cosmic-webapps",
"buildsystem": "simple",
"build-options": {
"env": {
"CARGO_HOME": "/run/build/cosmic-webapps/cargo"
}
},
"build-commands": [
"cargo --offline fetch --manifest-path Cargo.toml --verbose",
"cargo --offline build --release --verbose",
"install -Dm0755 ./target/release/cosmic-webapps /app/bin/cosmic-webapps",
"install -Dm0644 ./res/io.github.elevenhsoft.WebApps.desktop /app/share/applications/io.github.elevenhsoft.WebApps.desktop",
"install -Dm0644 ./res/io.github.elevenhsoft.WebApps.metainfo.xml /app/share/metainfo/io.github.elevenhsoft.WebApps.metainfo.xml",
"install -Dm0644 ./res/icons/hicolor/16x16/apps/io.github.elevenhsoft.WebApps.svg /app/share/icons/hicolor/16x16/apps/io.github.elevenhsoft.WebApps.svg",
"install -Dm0644 ./res/icons/hicolor/24x24/apps/io.github.elevenhsoft.WebApps.svg /app/share/icons/hicolor/24x24/apps/io.github.elevenhsoft.WebApps.svg",
"install -Dm0644 ./res/icons/hicolor/32x32/apps/io.github.elevenhsoft.WebApps.svg /app/share/icons/hicolor/32x32/apps/io.github.elevenhsoft.WebApps.svg",
"install -Dm0644 ./res/icons/hicolor/48x48/apps/io.github.elevenhsoft.WebApps.svg /app/share/icons/hicolor/48x48/apps/io.github.elevenhsoft.WebApps.svg",
"install -Dm0644 ./res/icons/hicolor/64x64/apps/io.github.elevenhsoft.WebApps.svg /app/share/icons/hicolor/64x64/apps/io.github.elevenhsoft.WebApps.svg",
"install -Dm0644 ./res/icons/hicolor/128x128/apps/io.github.elevenhsoft.WebApps.svg /app/share/icons/hicolor/128x128/apps/io.github.elevenhsoft.WebApps.svg",
"install -Dm0644 ./res/icons/hicolor/256x256/apps/io.github.elevenhsoft.WebApps.svg /app/share/icons/hicolor/256x256/apps/io.github.elevenhsoft.WebApps.svg"
],
"sources": [
{
"type": "dir",
"path": "."
},
"cargo-sources.json"
]
"app-id": "io.github.elevenhsoft.WebApps",
"runtime": "org.freedesktop.Platform",
"runtime-version": "23.08",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"command": "quick-webapps",
"finish-args": [
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--device=dri",
"--share=network",
"--filesystem=/var/lib/flatpak:ro",
"--filesystem=~/.var/app:rw",
"--filesystem=~/.local/share/flatpak:ro",
"--filesystem=~/.local/share/applications:rw",
"--filesystem=~/.local/share/icons:create"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin"
},
"modules": [
{
"name": "quick-webapps",
"buildsystem": "simple",
"build-options": {
"env": {
"CARGO_HOME": "/run/build/quick-webapps/cargo"
}
]
}
},
"build-commands": [
"cargo --offline fetch --manifest-path Cargo.toml --verbose",
"cargo --offline build --release --verbose",
"install -Dm0755 ./target/release/quick-webapps /app/bin/quick-webapps",
"install -Dm0644 ./res/io.github.elevenhsoft.WebApps.desktop /app/share/applications/io.github.elevenhsoft.WebApps.desktop",
"install -Dm0644 ./res/io.github.elevenhsoft.WebApps.metainfo.xml /app/share/metainfo/io.github.elevenhsoft.WebApps.metainfo.xml",
"install -Dm0644 ./res/icons/hicolor/16x16/apps/io.github.elevenhsoft.WebApps.svg /app/share/icons/hicolor/16x16/apps/io.github.elevenhsoft.WebApps.svg",
"install -Dm0644 ./res/icons/hicolor/24x24/apps/io.github.elevenhsoft.WebApps.svg /app/share/icons/hicolor/24x24/apps/io.github.elevenhsoft.WebApps.svg",
"install -Dm0644 ./res/icons/hicolor/32x32/apps/io.github.elevenhsoft.WebApps.svg /app/share/icons/hicolor/32x32/apps/io.github.elevenhsoft.WebApps.svg",
"install -Dm0644 ./res/icons/hicolor/48x48/apps/io.github.elevenhsoft.WebApps.svg /app/share/icons/hicolor/48x48/apps/io.github.elevenhsoft.WebApps.svg",
"install -Dm0644 ./res/icons/hicolor/64x64/apps/io.github.elevenhsoft.WebApps.svg /app/share/icons/hicolor/64x64/apps/io.github.elevenhsoft.WebApps.svg",
"install -Dm0644 ./res/icons/hicolor/128x128/apps/io.github.elevenhsoft.WebApps.svg /app/share/icons/hicolor/128x128/apps/io.github.elevenhsoft.WebApps.svg",
"install -Dm0644 ./res/icons/hicolor/256x256/apps/io.github.elevenhsoft.WebApps.svg /app/share/icons/hicolor/256x256/apps/io.github.elevenhsoft.WebApps.svg"
],
"sources": [
{
"type": "dir",
"path": "."
},
"cargo-sources.json"
]
}
]
}
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name := 'cosmic-webapps'
name := 'quick-webapps'
export APPID := 'io.github.elevenhsoft.WebApps'

rootdir := ''
Expand Down
6 changes: 3 additions & 3 deletions res/io.github.elevenhsoft.WebApps.desktop
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[Desktop Entry]
Name=COSMIC Web Apps
Exec=cosmic-webapps
Name=Quick Web Apps
Exec=quick-webapps
Terminal=false
Type=Application
StartupNotify=true
Icon=io.github.elevenhsoft.WebApps
Categories=X-COSMIC;Utility;
Keywords=App;Software;Manager;
Keywords=App;Software;Manager;
12 changes: 10 additions & 2 deletions res/io.github.elevenhsoft.WebApps.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
<url type="bugtracker">https://github.com/elevenhsoft/WebApps/issues</url>
<url type="donation">https://ko-fi.com/elevenhsoft</url>

<name>COSMIC Web Apps</name>
<name>Quick Web Apps</name>
<summary>Web applications at your fingertips</summary>

<metadata_license>MIT</metadata_license>
<project_license>GPL-3.0-only</project_license>

<description>
<p>COSMIC Web Apps written with love and libcosmic.
<p>Quick Web Apps written with love and libcosmic.
Allow you to simply create web applications from given URL working inside separate window of your browser of
choice.
Works on most mainstream desktop environments with all the mainstream web browsers installed via flatpak.
Expand Down Expand Up @@ -52,6 +52,14 @@
</branding>

<releases>
<release version="0.4.6" date="2024-06-05">
<description>
<p>Add support for PNG icons</p>
<p>Use xdg desktop portal file picker instead of cosmic-files</p>
<p>Add editable name from home screen for web apps</p>
<p>Updated dependencies</p>
</description>
</release>
<release version="0.4.5" date="2024-05-25">
<description>
<p>Add spanish translation</p>
Expand Down
12 changes: 0 additions & 12 deletions scripts/icon-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,6 @@ download

error_message=$(mkdir -p $LOCAL_DESTDIR 2>&1)

# Check if app is flatpak sandboxed
# if [ -n "$FLATPAK_ID" ]; then
# echo "COSMIC Web Apps is probably sandboxed."
# echo "You do NOT have write permission on $LOCAL_DESTDIR."
# echo "Writing to $FLATPAK_DESTDIR."
# install $FLATPAK_DESTDIR Papirus "$EXTRA_THEMES"
# else
# echo "COSMIC Web Apps is not sandboxed."
# echo "You have write permission on $LOCAL_DESTDIR."
# install $LOCAL_DESTDIR Papirus "$EXTRA_THEMES"
# fi

install $LOCAL_DESTDIR Papirus "$EXTRA_THEMES"

trap cleanup EXIT HUP INT TERM
2 changes: 1 addition & 1 deletion src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub fn system_fonts() -> PathBuf {
}

pub fn my_icons_location() -> PathBuf {
icons_location().join("CosmicWebApps")
icons_location().join("QuickWebApps")
}

pub fn webapplauncher_is_valid(
Expand Down
Loading

0 comments on commit 5530eb7

Please sign in to comment.