4 |
5 |
6 |
15 |
--------------------------------------------------------------------------------
/components/README.md:
--------------------------------------------------------------------------------
1 | # COMPONENTS
2 |
3 | **This directory is not required, you can delete it if you don't want to use it.**
4 |
5 | The components directory contains your Vue.js Components.
6 |
7 | _Nuxt.js doesn't supercharge these components._
8 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # editorconfig.org
2 | root = true
3 |
4 | [*]
5 | indent_style = space
6 | indent_size = 2
7 | end_of_line = lf
8 | charset = utf-8
9 | trim_trailing_whitespace = true
10 | insert_final_newline = true
11 |
12 | [*.md]
13 | trim_trailing_whitespace = false
14 |
--------------------------------------------------------------------------------
/layouts/README.md:
--------------------------------------------------------------------------------
1 | # LAYOUTS
2 |
3 | **This directory is not required, you can delete it if you don't want to use it.**
4 |
5 | This directory contains your Application Layouts.
6 |
7 | More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/views#layouts).
8 |
--------------------------------------------------------------------------------
/components/Header.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Ableton Live Download Utility
4 |
Downloads the desired 64-bit installer from any version of Ableton Live 11, 10 or 9.
5 |
6 |
7 |
--------------------------------------------------------------------------------
/pages/README.md:
--------------------------------------------------------------------------------
1 | # PAGES
2 |
3 | This directory contains your Application Views and Routes.
4 | The framework reads all the `*.vue` files inside this directory and creates the router of your application.
5 |
6 | More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/routing).
7 |
--------------------------------------------------------------------------------
/assets/README.md:
--------------------------------------------------------------------------------
1 | # ASSETS
2 |
3 | **This directory is not required, you can delete it if you don't want to use it.**
4 |
5 | This directory contains your un-compiled assets such as LESS, SASS, or JavaScript.
6 |
7 | More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/assets#webpacked).
8 |
--------------------------------------------------------------------------------
/layouts/default.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
16 |
--------------------------------------------------------------------------------
/plugins/README.md:
--------------------------------------------------------------------------------
1 | # PLUGINS
2 |
3 | **This directory is not required, you can delete it if you don't want to use it.**
4 |
5 | This directory contains Javascript plugins that you want to run before mounting the root Vue.js application.
6 |
7 | More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/plugins).
8 |
--------------------------------------------------------------------------------
/static/README.md:
--------------------------------------------------------------------------------
1 | # STATIC
2 |
3 | **This directory is not required, you can delete it if you don't want to use it.**
4 |
5 | This directory contains your static files.
6 | Each file inside this directory is mapped to `/`.
7 |
8 | Example: `/static/robots.txt` is mapped as `/robots.txt`.
9 |
10 | More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/assets#static).
11 |
--------------------------------------------------------------------------------
/store/README.md:
--------------------------------------------------------------------------------
1 | # STORE
2 |
3 | **This directory is not required, you can delete it if you don't want to use it.**
4 |
5 | This directory contains your Vuex Store files.
6 | Vuex Store option is implemented in the Nuxt.js framework.
7 |
8 | Creating a file in this directory automatically activates the option in the framework.
9 |
10 | More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/vuex-store).
11 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # ableton-live-downloader
2 |
3 | > Downloader utility for Ableton Live installer
4 |
5 | ## Build Setup
6 |
7 | ``` bash
8 | # install dependencies
9 | $ npm install
10 |
11 | # serve with hot reload at localhost:3000
12 | $ npm run dev
13 |
14 | # build for production and launch server
15 | $ npm run build
16 | $ npm start
17 |
18 | # generate static project
19 | $ npm run generate
20 | ```
21 |
22 | For detailed explanation on how things work, checkout [Nuxt.js docs](https://nuxtjs.org).
23 |
--------------------------------------------------------------------------------
/components/Footer.vue:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ableton-live-downloader",
3 | "version": "2.1.0",
4 | "description": "Downloads the desired 64-bit installer from Ableton Live servers",
5 | "author": "Pieter Montoulieu",
6 | "private": true,
7 | "scripts": {
8 | "dev": "nuxt",
9 | "build": "nuxt build",
10 | "start": "nuxt start",
11 | "generate": "nuxt build && nuxt export"
12 | },
13 | "dependencies": {
14 | "compare-versions": "^5.0.1",
15 | "nuxt": "^2.15.8"
16 | },
17 | "devDependencies": {
18 | "@nuxtjs/tailwindcss": "^2.1.1"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/components/Revenue.vue:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
--------------------------------------------------------------------------------
/tailwind.config.js:
--------------------------------------------------------------------------------
1 | /*
2 | ** TailwindCSS Configuration File
3 | **
4 | ** Docs: https://tailwindcss.com/docs/configuration
5 | ** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
6 | */
7 | module.exports = {
8 | theme: {},
9 | variants: {},
10 | plugins: [],
11 | purge: {
12 | // Learn more on https://tailwindcss.com/docs/controlling-file-size/#removing-unused-css
13 | enabled: process.env.NODE_ENV === 'production',
14 | content: [
15 | 'components/**/*.vue',
16 | 'layouts/**/*.vue',
17 | 'pages/**/*.vue',
18 | 'plugins/**/*.js',
19 | 'nuxt.config.js'
20 | ]
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/plugins/ga.js:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 |
3 | export default ({ app }) => {
4 | /*
5 | ** Only run on client-side and only in production mode
6 | */
7 | if (process.env.NODE_ENV !== 'production') return
8 | /*
9 | ** Include Google Analytics Script
10 | */
11 | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
12 | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
13 | m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
14 | })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
15 | /*
16 | ** Set the current page
17 | */
18 | ga('create', 'UA-127894545-2', 'auto')
19 | /*
20 | ** Every time the route changes (fired on initialization too)
21 | */
22 | app.router.afterEach((to, from) => {
23 | /*
24 | ** We tell Google Analytics to add a `pageview`
25 | */
26 | ga('set', 'page', to.fullPath)
27 | ga('send', 'pageview')
28 | })
29 | }
30 |
--------------------------------------------------------------------------------
/nuxt.config.js:
--------------------------------------------------------------------------------
1 | const pkg = require("./package");
2 |
3 | module.exports = {
4 | target: "static",
5 |
6 | /*
7 | ** Headers of the page
8 | */
9 | head: {
10 | title: "Ableton Live Installer Download Utility",
11 | meta: [
12 | { charset: "utf-8" },
13 | { name: "viewport", content: "width=device-width, initial-scale=1" },
14 | { hid: "description", name: "description", content: pkg.description },
15 | ],
16 | link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }],
17 | },
18 |
19 | router: {
20 | // base: '/ableton-live-downloader/'
21 | },
22 |
23 | /*
24 | ** Customize the progress-bar color
25 | */
26 | loading: { color: "#fff" },
27 |
28 | /*
29 | ** Global CSS
30 | */
31 | css: [],
32 |
33 | /*
34 | ** Plugins to load before mounting the App
35 | */
36 | plugins: [{ src: "~plugins/ga.js", ssr: false }],
37 |
38 | /*
39 | ** Nuxt.js modules
40 | */
41 | buildModules: ["@nuxtjs/tailwindcss"],
42 |
43 | /*
44 | ** Build configuration
45 | */
46 | build: {
47 | /*
48 | ** You can extend webpack config here
49 | */
50 | extend(config, ctx) {},
51 | },
52 | };
53 |
--------------------------------------------------------------------------------
/pages/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |