Skip to content
This repository was archived by the owner on May 2, 2022. It is now read-only.

Commit e8da2b8

Browse files
authored
Add Snap packaging support (#117)
1 parent 4a29c7a commit e8da2b8

19 files changed

+98
-43
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,5 @@ dist
5151
_src
5252

5353
/build
54+
55+
snapcraft_login

.travis.yml

+13
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ addons:
1515
packages:
1616
- python3
1717
- python3-pip
18+
- snapd
1819
cache: yarn
20+
before_install:
21+
- openssl aes-256-cbc -K $encrypted_9b138b9d5184_key -iv $encrypted_9b138b9d5184_iv -in snapcraft_login.enc -out snapcraft_login -d
22+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo snap install snapcraft --classic; fi
23+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then snap run snapcraft login --with snapcraft_login; fi
1924
before_script:
2025
- yarn lint
2126
script:
@@ -24,3 +29,11 @@ script:
2429
- yarn test
2530
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then yarn directory:install && yarn directory:test; fi
2631
- if [ "$TRAVIS_OS_NAME" == "linux" -a "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then yarn directory:install && yarn directory:pack && yarn directory:publish; fi
32+
deploy:
33+
on:
34+
tags: true
35+
provider: script
36+
script: bash snapcraft_deploy.sh
37+
skip_cleanup: true
38+
notifications:
39+
email: false

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# WebCatalog [![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0) [![Travis Build Status](https://travis-ci.org/quanglam2807/webcatalog.svg?branch=master)](https://travis-ci.org/quanglam2807/webcatalog) [![Build status](https://ci.appveyor.com/api/projects/status/6l9ycaxsweytrpg3?svg=true)](https://ci.appveyor.com/project/quanglam2807/webcatalog)
1+
# WebCatalog [![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0) [![Travis Build Status](https://travis-ci.org/webcatalog/webcatalog.svg?branch=master)](https://travis-ci.org/webcatalog/webcatalog) [![Build status](https://ci.appveyor.com/api/projects/status/6l9ycaxsweytrpg3?svg=true)](https://ci.appveyor.com/project/webcatalog/webcatalog)
22

33
**[WebCatalog](https://getwebcatalog.com)** helps you turn any website into desktop app ([site-specific browser](https://en.wikipedia.org/wiki/Site-specific_browser)). It allows you to pick your preferred web engine: Google Chrome, Chromium ([@vackosar](https://vaclavkosar.com/2018/02/25/Creating-Custom-Ubuntu-Web-Link-App.html)); Firefox ([@natermer](https://www.reddit.com/r/linux/comments/7ivuit/create_firefoxbased_web_apps_for_gnome_and/)); Juli ([@quanglam2807](https://github.com/quanglam2807/juli)).
44

@@ -7,7 +7,7 @@
77
## Development
88
```
99
# First, clone the project:
10-
git clone https://github.com/quanglam2807/webcatalog.git
10+
git clone https://github.com/webcatalog/webcatalog.git
1111
cd webcatalog
1212
1313
# install the dependencies

directory/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"description": "A collection of apps for WebCatalog",
55
"main": "script/build.js",
6-
"repository": "https://github.com/quanglam2807/webcatalog-apps.git",
6+
"repository": "https://github.com/webcatalog/webcatalog-apps.git",
77
"author": "Quang Lam <[email protected]>",
88
"license": "MIT",
99
"private": true,

directory/script/pack.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ fs.readdirSync(appPath)
4040
{ id: slug, objectID: slug },
4141
yaml.load(yamlFile),
4242
{
43-
icon: `https://raw.githubusercontent.com/quanglam2807/webcatalog/icons/${slug}/${slug}-icon.png`,
44-
icon128: `https://raw.githubusercontent.com/quanglam2807/webcatalog/icons/${slug}/${slug}-icon-128.png`,
43+
icon: `https://raw.githubusercontent.com/webcatalog/webcatalog/icons/${slug}/${slug}-icon.png`,
44+
icon128: `https://raw.githubusercontent.com/webcatalog/webcatalog/icons/${slug}/${slug}-icon-128.png`,
4545
},
4646
);
4747

directory/script/upload-to-github.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ git init
33
git checkout --orphan icons
44
git add .
55
git commit -m "Init"
6-
git remote add origin https://$GH_TOKEN@github.com/quanglam2807/webcatalog.git
6+
git remote add origin https://$GH_TOKEN@github.com/webcatalog/webcatalog.git
77
git push origin icons -f

dist.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Promise.resolve()
2121
}
2222
default:
2323
case 'linux': {
24-
targets = Platform.LINUX.createTarget(['AppImage'], Arch.x64);
24+
targets = Platform.LINUX.createTarget(['snap', 'AppImage'], Arch.x64);
2525
break;
2626
}
2727
}

docs/404.html

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: '404'
3+
---
4+
5+
<!DOCTYPE html>
6+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
7+
8+
{% include head.html %}
9+
10+
<body>
11+
<section class="hero is-link is-fullheight">
12+
<div class="hero-body">
13+
<div class="container has-text-centered">
14+
<h1 class="title is-1 is-spaced">
15+
404 - Page Not Found
16+
</h1>
17+
<h2 class="subtitle">
18+
Take me back to <a href="/" class="is-text-link">getwebcatalog.com</a>
19+
</h2>
20+
</div>
21+
</div>
22+
</section>
23+
</body>
24+
</html>

docs/_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# You can create any custom variable you would like, and they will be accessible
1515
# in the templates via {{ site.myvariable }}.
1616
title: WebCatalog - Run Web Apps like Real Desktop Apps
17-
email: quang.lam2807@gmail.com
17+
email: support@getwebcatalog.com
1818
baseurl: "" # the subpath of your site, e.g. /blog
1919
url: "https://getwebcatalog.com" # the base hostname & protocol for your site, e.g. http://example.com
2020

docs/_layouts/default.html

+37-23
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
<a class="navbar-item" href="/privacy">
2727
Privacy
2828
</a>
29-
<a class="navbar-item" href="/contact">
30-
Contact
29+
<a class="navbar-item" href="/support">
30+
Support
3131
</a>
3232
</div>
3333
</div>
@@ -46,50 +46,64 @@ <h2 class="subtitle">
4646
</h2>
4747

4848
<div class="buttons is-centered" style="padding-top: 1em">
49-
<a class="mac button is-medium" href="https://github.com/quanglam2807/webcatalog/releases/download/v{{ site.webcatalog_version }}/WebCatalog-{{ site.webcatalog_version }}.dmg">
49+
<a class="mac button is-medium" href="https://github.com/webcatalog/webcatalog/releases/download/v{{ site.webcatalog_version }}/WebCatalog-{{ site.webcatalog_version }}.dmg">
5050
<svg style="height: 24px; width: 24px;" aria-hidden="true" data-prefix="fab" data-icon="apple" class="svg-inline--fa fa-apple fa-w-12" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 376 512"><path fill="currentColor" d="M314.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C59.3 141.2 0 184.8 0 273.5c0 26.2 4.8 53.3 14.4 81.2 12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"></path></svg>
5151
<span>&nbsp; Download for macOS</span>
5252
</a>
53-
<a class="win button is-medium" href="https://github.com/quanglam2807/webcatalog/releases/download/v{{ site.webcatalog_version }}/webcatalog-setup-{{ site.webcatalog_version }}.exe">
53+
<a class="win button is-medium" href="https://github.com/webcatalog/webcatalog/releases/download/v{{ site.webcatalog_version }}/webcatalog-setup-{{ site.webcatalog_version }}.exe">
5454
<svg style="height: 24px; width: 24px;" aria-hidden="true" data-prefix="fab" data-icon="windows" class="svg-inline--fa fa-windows fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M0 93.7l183.6-25.3v177.4H0V93.7zm0 324.6l183.6 25.3V268.4H0v149.9zm203.8 28L448 480V268.4H203.8v177.9zm0-380.6v180.1H448V32L203.8 65.7z"></path></svg>
5555
<span>&nbsp;Download for Windows</span>
5656
</a>
57-
<a class="linux button is-medium" href="https://github.com/quanglam2807/webcatalog/releases/download/v{{ site.webcatalog_version }}/webcatalog-{{ site.webcatalog_version }}-x86_64.AppImage">
58-
<svg style="height: 24px; width: 24px;" aria-hidden="true" data-prefix="fab" data-icon="linux" class="svg-inline--fa fa-linux fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M196.1 123.6c-.2-1.4 1.9-2.3 3.2-2.9 1.7-.7 3.9-1 5.5-.1.4.2.8.7.6 1.1-.4 1.2-2.4 1-3.5 1.6-1 .5-1.8 1.7-3 1.7-1 .1-2.7-.4-2.8-1.4zm24.7-.3c1 .5 1.8 1.7 3 1.7 1.1 0 2.8-.4 2.9-1.5.2-1.4-1.9-2.3-3.2-2.9-1.7-.7-3.9-1-5.5-.1-.4.2-.8.7-.6 1.1.3 1.3 2.3 1.1 3.4 1.7zm214.7 310.2c-.5 8.2-6.5 13.8-13.9 18.3-14.9 9-37.3 15.8-50.9 32.2l-2.6-2.2 2.6 2.2c-14.2 16.9-31.7 26.6-48.3 27.9-16.5 1.3-32-6.3-40.3-23v-.1c-1.1-2.1-1.9-4.4-2.5-6.7-21.5 1.2-40.2-5.3-55.1-4.1-22 1.2-35.8 6.5-48.3 6.6-4.8 10.6-14.3 17.6-25.9 20.2-16 3.7-36.1 0-55.9-10.4l1.6-3-1.6 3c-18.5-9.8-42-8.9-59.3-12.5-8.7-1.8-16.3-5-20.1-12.3-3.7-7.3-3-17.3 2.2-31.7 1.7-5.1.4-12.7-.8-20.8-.6-3.9-1.2-7.9-1.2-11.8 0-4.3.7-8.5 2.8-12.4 4.5-8.5 11.8-12.1 18.5-14.5 6.7-2.4 12.8-4 17-8.3 5.2-5.5 10.1-14.4 16.6-20.2-2.6-17.2.2-35.4 6.2-53.3 12.6-37.9 39.2-74.2 58.1-96.7 16.1-22.9 20.8-41.3 22.5-64.7C158 103.4 132.4-.2 234.8 0c80.9.1 76.3 85.4 75.8 131.3-.3 30.1 16.3 50.5 33.4 72 15.2 18 35.1 44.3 46.5 74.4 9.3 24.6 12.9 51.8 3.7 79.1 1.4.5 2.8 1.2 4.1 2 1.4.8 2.7 1.8 4 2.9 6.6 5.6 8.7 14.3 10.5 22.4 1.9 8.1 3.6 15.7 7.2 19.7 11.1 12.4 15.9 21.5 15.5 29.7zM220.8 109.1c3.6.9 8.9 2.4 13 4.4-2.1-12.2 4.5-23.5 11.8-23 8.9.3 13.9 15.5 9.1 27.3-.8 1.9-2.8 3.4-3.9 4.6 6.7 2.3 11 4.1 12.6 4.9 7.9-9.5 10.8-26.2 4.3-40.4-9.8-21.4-34.2-21.8-44 .4-3.2 7.2-3.9 14.9-2.9 21.8zm-46.2 18.8c7.8-5.7 6.9-4.7 5.9-5.5-8-6.9-6.6-27.4 1.8-28.1 6.3-.5 10.8 10.7 9.6 19.6 3.1-2.1 6.7-3.6 10.2-4.6 1.7-19.3-9-33.5-19.1-33.5-18.9 0-24 37.5-8.4 52.1zm-9.4 20.9c1.5 4.9 6.1 10.5 14.7 15.3 7.8 4.6 12 11.5 20 15 2.6 1.1 5.7 1.9 9.6 2.1 18.4 1.1 27.1-11.3 38.2-14.9 11.7-3.7 20.1-11 22.7-18.1 3.2-8.5-2.1-14.7-10.5-18.2-11.3-4.9-16.3-5.2-22.6-9.3-10.3-6.6-18.8-8.9-25.9-8.9-14.4 0-23.2 9.8-27.9 14.2-.5.5-7.9 5.9-14.1 10.5-4.2 3.3-5.6 7.4-4.2 12.3zm-33.5 252.8L112.1 366c-6.8-9.2-13.8-14.8-21.9-16-7.7-1.2-12.6 1.4-17.7 6.9-4.8 5.1-8.8 12.3-14.3 18-7.8 6.5-9.3 6.2-19.6 9.9-6.3 2.2-11.3 4.6-14.8 11.3-2.7 5-2.1 12.2-.9 20 1.2 7.9 3 16.3.6 23.9v.2c-5 13.7-5 21.7-2.6 26.4 7.9 15.4 46.6 6.1 76.5 21.9 31.4 16.4 72.6 17.1 75.3-18 2.1-20.5-31.5-49-41-68.9zm153.9 35.8c3.2-11 6.3-21.3 6.8-29 .8-15.2 1.6-28.7 4.4-39.9 3.1-12.6 9.3-23.1 21.4-27.3 2.3-21.1 18.7-21.1 38.3-12.5 18.9 8.5 26 16 22.8 26.1 1 0 2-.1 4.2 0 5.2-16.9-14.3-28-30.7-34.8 2.9-12 2.4-24.1-.4-35.7-6-25.3-22.6-47.8-35.2-59-2.3-.1-2.1 1.9 2.6 6.5 11.6 10.7 37.1 49.2 23.3 84.9-3.9-1-7.6-1.5-10.9-1.4-5.3-29.1-17.5-53.2-23.6-64.6-11.5-21.4-29.5-65.3-37.2-95.7-4.5 6.4-12.4 11.9-22.3 15-4.7 1.5-9.7 5.5-15.9 9-13.9 8-30 8.8-42.4-1.2-4.5-3.6-8-7.6-12.6-10.3-1.6-.9-5.1-3.3-6.2-4.1-2 37.8-27.3 85.3-39.3 112.7-8.3 19.7-13.2 40.8-13.8 61.5-21.8-29.1-5.9-66.3 2.6-82.4 9.5-17.6 11-22.5 8.7-20.8-8.6 14-22 36.3-27.2 59.2-2.7 11.9-3.2 24 .3 35.2 3.5 11.2 11.1 21.5 24.6 29.9 0 0 24.8 14.3 38.3 32.5 7.4 10 9.7 18.7 7.4 24.9-2.5 6.7-9.6 8.9-16.7 8.9 4.8 6 10.3 13 14.4 19.6 37.6 25.7 82.2 15.7 114.3-7.2zM415 408.5c-10-11.3-7.2-33.1-17.1-41.6-6.9-6-13.6-5.4-22.6-5.1-7.7 8.8-25.8 19.6-38.4 16.3-11.5-2.9-18-16.3-18.8-29.5-.3.2-.7.3-1 .5-7.1 3.9-11.1 10.8-13.7 21.1-2.5 10.2-3.4 23.5-4.2 38.7-.7 11.8-6.2 26.4-9.9 40.6-3.5 13.2-5.8 25.2-1.1 36.3 7.2 14.5 19.5 20.4 33.7 19.3 14.2-1.1 30.4-9.8 43.6-25.5 22-26.6 62.3-29.7 63.2-46.5.3-5.1-3.1-13-13.7-24.6zM173.3 148.7c2 1.9 4.7 4.5 8 7.1 6.6 5.2 15.8 10.6 27.3 10.6 11.6 0 22.5-5.9 31.8-10.8 4.9-2.6 10.9-7 14.8-10.4 3.9-3.4 5.9-6.3 3.1-6.6-2.8-.3-2.6 2.6-6 5.1-4.4 3.2-9.7 7.4-13.9 9.8-7.4 4.2-19.5 10.2-29.9 10.2-10.4 0-18.7-4.8-24.9-9.7-3.1-2.5-5.7-5-7.7-6.9-1.5-1.4-1.9-4.6-4.3-4.9-1.4-.1-1.8 3.7 1.7 6.5z"></path></svg>
59-
<span>&nbsp;Download for Linux</span>
60-
</a>
57+
<div class="linux dropdown is-hoverable" style="margin-right: 8px">
58+
<div class="dropdown-trigger">
59+
<a class="button is-medium" aria-haspopup="true" aria-controls="dropdown-menu3" href="https://github.com/webcatalog/webcatalog/releases/download/v{{ site.webcatalog_version }}/webcatalog-{{ site.webcatalog_version }}-x86_64.AppImage">
60+
<svg style="height: 24px; width: 24px;" aria-hidden="true" data-prefix="fab" data-icon="linux" class="svg-inline--fa fa-linux fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M196.1 123.6c-.2-1.4 1.9-2.3 3.2-2.9 1.7-.7 3.9-1 5.5-.1.4.2.8.7.6 1.1-.4 1.2-2.4 1-3.5 1.6-1 .5-1.8 1.7-3 1.7-1 .1-2.7-.4-2.8-1.4zm24.7-.3c1 .5 1.8 1.7 3 1.7 1.1 0 2.8-.4 2.9-1.5.2-1.4-1.9-2.3-3.2-2.9-1.7-.7-3.9-1-5.5-.1-.4.2-.8.7-.6 1.1.3 1.3 2.3 1.1 3.4 1.7zm214.7 310.2c-.5 8.2-6.5 13.8-13.9 18.3-14.9 9-37.3 15.8-50.9 32.2l-2.6-2.2 2.6 2.2c-14.2 16.9-31.7 26.6-48.3 27.9-16.5 1.3-32-6.3-40.3-23v-.1c-1.1-2.1-1.9-4.4-2.5-6.7-21.5 1.2-40.2-5.3-55.1-4.1-22 1.2-35.8 6.5-48.3 6.6-4.8 10.6-14.3 17.6-25.9 20.2-16 3.7-36.1 0-55.9-10.4l1.6-3-1.6 3c-18.5-9.8-42-8.9-59.3-12.5-8.7-1.8-16.3-5-20.1-12.3-3.7-7.3-3-17.3 2.2-31.7 1.7-5.1.4-12.7-.8-20.8-.6-3.9-1.2-7.9-1.2-11.8 0-4.3.7-8.5 2.8-12.4 4.5-8.5 11.8-12.1 18.5-14.5 6.7-2.4 12.8-4 17-8.3 5.2-5.5 10.1-14.4 16.6-20.2-2.6-17.2.2-35.4 6.2-53.3 12.6-37.9 39.2-74.2 58.1-96.7 16.1-22.9 20.8-41.3 22.5-64.7C158 103.4 132.4-.2 234.8 0c80.9.1 76.3 85.4 75.8 131.3-.3 30.1 16.3 50.5 33.4 72 15.2 18 35.1 44.3 46.5 74.4 9.3 24.6 12.9 51.8 3.7 79.1 1.4.5 2.8 1.2 4.1 2 1.4.8 2.7 1.8 4 2.9 6.6 5.6 8.7 14.3 10.5 22.4 1.9 8.1 3.6 15.7 7.2 19.7 11.1 12.4 15.9 21.5 15.5 29.7zM220.8 109.1c3.6.9 8.9 2.4 13 4.4-2.1-12.2 4.5-23.5 11.8-23 8.9.3 13.9 15.5 9.1 27.3-.8 1.9-2.8 3.4-3.9 4.6 6.7 2.3 11 4.1 12.6 4.9 7.9-9.5 10.8-26.2 4.3-40.4-9.8-21.4-34.2-21.8-44 .4-3.2 7.2-3.9 14.9-2.9 21.8zm-46.2 18.8c7.8-5.7 6.9-4.7 5.9-5.5-8-6.9-6.6-27.4 1.8-28.1 6.3-.5 10.8 10.7 9.6 19.6 3.1-2.1 6.7-3.6 10.2-4.6 1.7-19.3-9-33.5-19.1-33.5-18.9 0-24 37.5-8.4 52.1zm-9.4 20.9c1.5 4.9 6.1 10.5 14.7 15.3 7.8 4.6 12 11.5 20 15 2.6 1.1 5.7 1.9 9.6 2.1 18.4 1.1 27.1-11.3 38.2-14.9 11.7-3.7 20.1-11 22.7-18.1 3.2-8.5-2.1-14.7-10.5-18.2-11.3-4.9-16.3-5.2-22.6-9.3-10.3-6.6-18.8-8.9-25.9-8.9-14.4 0-23.2 9.8-27.9 14.2-.5.5-7.9 5.9-14.1 10.5-4.2 3.3-5.6 7.4-4.2 12.3zm-33.5 252.8L112.1 366c-6.8-9.2-13.8-14.8-21.9-16-7.7-1.2-12.6 1.4-17.7 6.9-4.8 5.1-8.8 12.3-14.3 18-7.8 6.5-9.3 6.2-19.6 9.9-6.3 2.2-11.3 4.6-14.8 11.3-2.7 5-2.1 12.2-.9 20 1.2 7.9 3 16.3.6 23.9v.2c-5 13.7-5 21.7-2.6 26.4 7.9 15.4 46.6 6.1 76.5 21.9 31.4 16.4 72.6 17.1 75.3-18 2.1-20.5-31.5-49-41-68.9zm153.9 35.8c3.2-11 6.3-21.3 6.8-29 .8-15.2 1.6-28.7 4.4-39.9 3.1-12.6 9.3-23.1 21.4-27.3 2.3-21.1 18.7-21.1 38.3-12.5 18.9 8.5 26 16 22.8 26.1 1 0 2-.1 4.2 0 5.2-16.9-14.3-28-30.7-34.8 2.9-12 2.4-24.1-.4-35.7-6-25.3-22.6-47.8-35.2-59-2.3-.1-2.1 1.9 2.6 6.5 11.6 10.7 37.1 49.2 23.3 84.9-3.9-1-7.6-1.5-10.9-1.4-5.3-29.1-17.5-53.2-23.6-64.6-11.5-21.4-29.5-65.3-37.2-95.7-4.5 6.4-12.4 11.9-22.3 15-4.7 1.5-9.7 5.5-15.9 9-13.9 8-30 8.8-42.4-1.2-4.5-3.6-8-7.6-12.6-10.3-1.6-.9-5.1-3.3-6.2-4.1-2 37.8-27.3 85.3-39.3 112.7-8.3 19.7-13.2 40.8-13.8 61.5-21.8-29.1-5.9-66.3 2.6-82.4 9.5-17.6 11-22.5 8.7-20.8-8.6 14-22 36.3-27.2 59.2-2.7 11.9-3.2 24 .3 35.2 3.5 11.2 11.1 21.5 24.6 29.9 0 0 24.8 14.3 38.3 32.5 7.4 10 9.7 18.7 7.4 24.9-2.5 6.7-9.6 8.9-16.7 8.9 4.8 6 10.3 13 14.4 19.6 37.6 25.7 82.2 15.7 114.3-7.2zM415 408.5c-10-11.3-7.2-33.1-17.1-41.6-6.9-6-13.6-5.4-22.6-5.1-7.7 8.8-25.8 19.6-38.4 16.3-11.5-2.9-18-16.3-18.8-29.5-.3.2-.7.3-1 .5-7.1 3.9-11.1 10.8-13.7 21.1-2.5 10.2-3.4 23.5-4.2 38.7-.7 11.8-6.2 26.4-9.9 40.6-3.5 13.2-5.8 25.2-1.1 36.3 7.2 14.5 19.5 20.4 33.7 19.3 14.2-1.1 30.4-9.8 43.6-25.5 22-26.6 62.3-29.7 63.2-46.5.3-5.1-3.1-13-13.7-24.6zM173.3 148.7c2 1.9 4.7 4.5 8 7.1 6.6 5.2 15.8 10.6 27.3 10.6 11.6 0 22.5-5.9 31.8-10.8 4.9-2.6 10.9-7 14.8-10.4 3.9-3.4 5.9-6.3 3.1-6.6-2.8-.3-2.6 2.6-6 5.1-4.4 3.2-9.7 7.4-13.9 9.8-7.4 4.2-19.5 10.2-29.9 10.2-10.4 0-18.7-4.8-24.9-9.7-3.1-2.5-5.7-5-7.7-6.9-1.5-1.4-1.9-4.6-4.3-4.9-1.4-.1-1.8 3.7 1.7 6.5z"></path></svg>
61+
<span>&nbsp;Download for Linux</span>
62+
<svg style="height: 24px; width: 24px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"/></svg>
63+
</a>
64+
</div>
65+
<div class="dropdown-menu" id="dropdown-menu3" role="menu" style="text-align: left">
66+
<div class="dropdown-content">
67+
<a href="https://snapcraft.io/webcatalog" class="dropdown-item">
68+
Snap
69+
</a>
70+
<a href="https://github.com/quanglam2807/webcatalog/releases/download/v{{ site.webcatalog_version }}/webcatalog-{{ site.webcatalog_version }}-x86_64.AppImage" class="dropdown-item">
71+
AppImage
72+
</a>
73+
</div>
74+
</div>
75+
</div>
6176
<a class="button is-medium" href="/purchase">
6277
<span>Buy Now - $10</span>
6378
</a>
6479
</div>
6580

66-
<p class="mac"><small>
67-
Version {{ site.webcatalog_version }}. WebCatalog requires macOS 10.9 or later.
81+
<p><small>
82+
Version {{ site.webcatalog_version }} (<a class="is-text-link" href="https://github.com/webcatalog/juli/releases">Release Notes</a>).
83+
<span class="mac"> WebCatalog requires macOS 10.9 or later.
6884
<br />
6985
<br />
7086
Also available on <a class="is-text-link" onClick="loadOS('win')">Windows</a> & <a class="is-text-link" onClick="loadOS('linux')">Linux</a>.
71-
</small></p>
72-
73-
<p class="win"><small>
74-
Version {{ site.webcatalog_version }}. WebCatalog requires Windows 7 64-bit or later.
87+
</span>
88+
<span class="win"> WebCatalog requires Windows 7 64-bit or later.
7589
<br />
7690
<br />
7791
Also available on <a class="is-text-link" onClick="loadOS('mac')">macOS</a> & <a class="is-text-link" onClick="loadOS('linux')">Linux</a>.
78-
</small></p>
79-
80-
<p class="linux"><small>
81-
Version {{ site.webcatalog_version }}. WebCatalog requires Linux 64-bit.
82-
<br />
83-
<br />
84-
Also available on <a class="is-text-link" onClick="loadOS('mac')">macOS</a> & <a class="is-text-link" onClick="loadOS('win')">Windows</a>.
92+
</span>
93+
<span class="linux">
94+
WebCatalog requires Linux 64-bit.
95+
<br />
96+
<br />
97+
Also available on <a class="is-text-link" onClick="loadOS('mac')">macOS</a> & <a class="is-text-link" onClick="loadOS('win')">Windows</a>.
98+
</span>
8599
</small></p>
86100
</div>
87101
</div>
88102
{% else %}
89103
<div class="hero-body">
90104
<div class="container has-text-centered">
91105
<h1 class="title">
92-
Privacy
106+
{{ page.title }}
93107
</h1>
94108
</div>
95109
</div>
@@ -106,7 +120,7 @@ <h1 class="title">
106120
</small></p>
107121
<p><small>
108122
<span>WebCatalog is </span>
109-
<a href="https://github.com/quanglam2807/webcatalog">open source</a>.
123+
<a href="https://github.com/webcatalog">open source</a>.
110124
</small></p>
111125
</div>
112126
</footer>

docs/index.html

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
id: index
33
layout: default
4-
redirect_from:
5-
- /404
64
---
75

86
<section class="section">

docs/contact.html renamed to docs/support.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
id: contact
2+
id: support
33
layout: default
4-
title: Contact Us
4+
title: Support
55
---
66
<section class="section">
77
<div class="container">

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@
1818
"directory:pack": "cd directory && yarn build:pack",
1919
"directory:publish": "cd directory && yarn build:publish"
2020
},
21-
"repository": "https://github.com/quanglam2807/webcatalog",
21+
"repository": "https://github.com/webcatalog/webcatalog",
2222
"author": {
2323
"name": "Quang Lam",
24-
"email": "[email protected]",
25-
"url": "https://quanglam.em"
24+
"email": "[email protected]"
2625
},
2726
"license": "MPL-2.0",
2827
"dependencies": {

snapcraft_deploy.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
4+
snap run snapcraft push dist/*.snap --release stable;
5+
fi

snapcraft_login.enc

2.28 KB
Binary file not shown.

0 commit comments

Comments
 (0)