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

Commit

Permalink
Add Snap packaging support (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
quanglam2807 committed Oct 20, 2018
1 parent 4a29c7a commit e8da2b8
Show file tree
Hide file tree
Showing 19 changed files with 98 additions and 43 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ dist
_src

/build

snapcraft_login
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ addons:
packages:
- python3
- python3-pip
- snapd
cache: yarn
before_install:
- openssl aes-256-cbc -K $encrypted_9b138b9d5184_key -iv $encrypted_9b138b9d5184_iv -in snapcraft_login.enc -out snapcraft_login -d
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo snap install snapcraft --classic; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then snap run snapcraft login --with snapcraft_login; fi
before_script:
- yarn lint
script:
Expand All @@ -24,3 +29,11 @@ script:
- yarn test
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then yarn directory:install && yarn directory:test; fi
- 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
deploy:
on:
tags: true
provider: script
script: bash snapcraft_deploy.sh
skip_cleanup: true
notifications:
email: false
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 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)
# 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)

**[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)).

Expand All @@ -7,7 +7,7 @@
## Development
```
# First, clone the project:
git clone https://github.com/quanglam2807/webcatalog.git
git clone https://github.com/webcatalog/webcatalog.git
cd webcatalog
# install the dependencies
Expand Down
2 changes: 1 addition & 1 deletion directory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "A collection of apps for WebCatalog",
"main": "script/build.js",
"repository": "https://github.com/quanglam2807/webcatalog-apps.git",
"repository": "https://github.com/webcatalog/webcatalog-apps.git",
"author": "Quang Lam <quang.lam2807@gmail.com>",
"license": "MIT",
"private": true,
Expand Down
4 changes: 2 additions & 2 deletions directory/script/pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ fs.readdirSync(appPath)
{ id: slug, objectID: slug },
yaml.load(yamlFile),
{
icon: `https://raw.githubusercontent.com/quanglam2807/webcatalog/icons/${slug}/${slug}-icon.png`,
icon128: `https://raw.githubusercontent.com/quanglam2807/webcatalog/icons/${slug}/${slug}-icon-128.png`,
icon: `https://raw.githubusercontent.com/webcatalog/webcatalog/icons/${slug}/${slug}-icon.png`,
icon128: `https://raw.githubusercontent.com/webcatalog/webcatalog/icons/${slug}/${slug}-icon-128.png`,
},
);

Expand Down
2 changes: 1 addition & 1 deletion directory/script/upload-to-github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ git init
git checkout --orphan icons
git add .
git commit -m "Init"
git remote add origin https://$GH_TOKEN@github.com/quanglam2807/webcatalog.git
git remote add origin https://$GH_TOKEN@github.com/webcatalog/webcatalog.git
git push origin icons -f
2 changes: 1 addition & 1 deletion dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Promise.resolve()
}
default:
case 'linux': {
targets = Platform.LINUX.createTarget(['AppImage'], Arch.x64);
targets = Platform.LINUX.createTarget(['snap', 'AppImage'], Arch.x64);
break;
}
}
Expand Down
24 changes: 24 additions & 0 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: '404'
---

<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">

{% include head.html %}

<body>
<section class="hero is-link is-fullheight">
<div class="hero-body">
<div class="container has-text-centered">
<h1 class="title is-1 is-spaced">
404 - Page Not Found
</h1>
<h2 class="subtitle">
Take me back to <a href="/" class="is-text-link">getwebcatalog.com</a>
</h2>
</div>
</div>
</section>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: WebCatalog - Run Web Apps like Real Desktop Apps
email: quang.lam2807@gmail.com
email: support@getwebcatalog.com
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://getwebcatalog.com" # the base hostname & protocol for your site, e.g. http://example.com

Expand Down
60 changes: 37 additions & 23 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<a class="navbar-item" href="/privacy">
Privacy
</a>
<a class="navbar-item" href="/contact">
Contact
<a class="navbar-item" href="/support">
Support
</a>
</div>
</div>
Expand All @@ -46,50 +46,64 @@ <h2 class="subtitle">
</h2>

<div class="buttons is-centered" style="padding-top: 1em">
<a class="mac button is-medium" href="https://github.com/quanglam2807/webcatalog/releases/download/v{{ site.webcatalog_version }}/WebCatalog-{{ site.webcatalog_version }}.dmg">
<a class="mac button is-medium" href="https://github.com/webcatalog/webcatalog/releases/download/v{{ site.webcatalog_version }}/WebCatalog-{{ site.webcatalog_version }}.dmg">
<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>
<span>&nbsp; Download for macOS</span>
</a>
<a class="win button is-medium" href="https://github.com/quanglam2807/webcatalog/releases/download/v{{ site.webcatalog_version }}/webcatalog-setup-{{ site.webcatalog_version }}.exe">
<a class="win button is-medium" href="https://github.com/webcatalog/webcatalog/releases/download/v{{ site.webcatalog_version }}/webcatalog-setup-{{ site.webcatalog_version }}.exe">
<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>
<span>&nbsp;Download for Windows</span>
</a>
<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">
<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>
<span>&nbsp;Download for Linux</span>
</a>
<div class="linux dropdown is-hoverable" style="margin-right: 8px">
<div class="dropdown-trigger">
<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">
<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>
<span>&nbsp;Download for Linux</span>
<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>
</a>
</div>
<div class="dropdown-menu" id="dropdown-menu3" role="menu" style="text-align: left">
<div class="dropdown-content">
<a href="https://snapcraft.io/webcatalog" class="dropdown-item">
Snap
</a>
<a href="https://github.com/quanglam2807/webcatalog/releases/download/v{{ site.webcatalog_version }}/webcatalog-{{ site.webcatalog_version }}-x86_64.AppImage" class="dropdown-item">
AppImage
</a>
</div>
</div>
</div>
<a class="button is-medium" href="/purchase">
<span>Buy Now - $10</span>
</a>
</div>

<p class="mac"><small>
Version {{ site.webcatalog_version }}. WebCatalog requires macOS 10.9 or later.
<p><small>
Version {{ site.webcatalog_version }} (<a class="is-text-link" href="https://github.com/webcatalog/juli/releases">Release Notes</a>).
<span class="mac"> WebCatalog requires macOS 10.9 or later.
<br />
<br />
Also available on <a class="is-text-link" onClick="loadOS('win')">Windows</a> & <a class="is-text-link" onClick="loadOS('linux')">Linux</a>.
</small></p>

<p class="win"><small>
Version {{ site.webcatalog_version }}. WebCatalog requires Windows 7 64-bit or later.
</span>
<span class="win"> WebCatalog requires Windows 7 64-bit or later.
<br />
<br />
Also available on <a class="is-text-link" onClick="loadOS('mac')">macOS</a> & <a class="is-text-link" onClick="loadOS('linux')">Linux</a>.
</small></p>

<p class="linux"><small>
Version {{ site.webcatalog_version }}. WebCatalog requires Linux 64-bit.
<br />
<br />
Also available on <a class="is-text-link" onClick="loadOS('mac')">macOS</a> & <a class="is-text-link" onClick="loadOS('win')">Windows</a>.
</span>
<span class="linux">
WebCatalog requires Linux 64-bit.
<br />
<br />
Also available on <a class="is-text-link" onClick="loadOS('mac')">macOS</a> & <a class="is-text-link" onClick="loadOS('win')">Windows</a>.
</span>
</small></p>
</div>
</div>
{% else %}
<div class="hero-body">
<div class="container has-text-centered">
<h1 class="title">
Privacy
{{ page.title }}
</h1>
</div>
</div>
Expand All @@ -106,7 +120,7 @@ <h1 class="title">
</small></p>
<p><small>
<span>WebCatalog is </span>
<a href="https://github.com/quanglam2807/webcatalog">open source</a>.
<a href="https://github.com/webcatalog">open source</a>.
</small></p>
</div>
</footer>
Expand Down
2 changes: 0 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
id: index
layout: default
redirect_from:
- /404
---

<section class="section">
Expand Down
4 changes: 2 additions & 2 deletions docs/contact.html → docs/support.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
id: contact
id: support
layout: default
title: Contact Us
title: Support
---
<section class="section">
<div class="container">
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@
"directory:pack": "cd directory && yarn build:pack",
"directory:publish": "cd directory && yarn build:publish"
},
"repository": "https://github.com/quanglam2807/webcatalog",
"repository": "https://github.com/webcatalog/webcatalog",
"author": {
"name": "Quang Lam",
"email": "quang.lam2807@gmail.com",
"url": "https://quanglam.em"
"email": "quang.lam2807@gmail.com"
},
"license": "MPL-2.0",
"dependencies": {
Expand Down
5 changes: 5 additions & 0 deletions snapcraft_deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
snap run snapcraft push dist/*.snap --release stable;
fi
Binary file added snapcraft_login.enc
Binary file not shown.

0 comments on commit e8da2b8

Please sign in to comment.