Commit Graph

62 Commits

Author SHA1 Message Date
absidue ac4cc4a611
Compress and lazy load locales (#2603)
* Compress and lazy load locales

* Remove index.html when loading the locales on the web

* Fix locale output path for web build
2022-09-24 11:06:50 -04:00
absidue 77c26638e1
Fully replace electron-debug with our own implementation (#2585) 2022-09-19 09:36:40 -04:00
absidue 62829b736a
Electron variable at build time instead of at runtime (#2574) 2022-09-15 08:59:09 +00:00
absidue bbd1dba867
Remove node-loader as we don't have any binary/native node modules (#2576) 2022-09-15 08:52:46 +08:00
absidue a69cbd3b55
Optimise CSS and JSON files (#2569) 2022-09-13 09:28:36 +08:00
absidue 97e3813182
Update css-loader and switch to webpack 5's asset modules (#2566) 2022-09-11 20:34:58 -04:00
absidue 19bf3880a4
Build and release 7zip artifacts (#2558) 2022-09-10 14:24:22 +00:00
Jai A P ce77d16ff5
Add linux armv7l and win/osx arm64 builds (#2113)
* Add linux armv7l

* Add linux armv7l

* Update release.yml

* Update build.yml

* Update release.yml

* Update build.js

* Update release.yml

* Update build.yml

* Update release.yml

* Update release.yml

* Update build.yml

* Update _scripts/build.js

Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>

* Update _scripts/build.js

Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>

* Update _scripts/build.js

Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>

* Update build.yml

* Update build.yml

* Update release.yml

* Remove squirrel build from windows as unused

* Update build.yml

* Update release.yml

* Update build.yml

* Update release.yml

* Update build.yml

* Update release.yml

* Update .github/workflows/release.yml

Co-authored-by: PikachuEXE <pikachuexe@gmail.com>

* Update .github/workflows/build.yml

Co-authored-by: PikachuEXE <pikachuexe@gmail.com>

Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>
Co-authored-by: PikachuEXE <pikachuexe@gmail.com>
2022-09-06 21:18:29 +00:00
absidue eaa15ea833
Webpack bundle dependencies (#2511)
* Allow webpack to bundle *most* dependencies

* Exclude *most* node_modules from getting packaged by electron-builder

* Import only the required icons instead of bundling the whole icon pack

* Reduce packaging blacklist to only include the few things that still need blacklisting
2022-09-06 02:29:10 +00:00
absidue 9961183c1b
Only generate the web assets directory during web builds (#2528)
* Webpack 5 optimises productions builds by default, no need for the LoaderOptionsPlugin

* Only create web assets during web build
2022-09-02 09:19:06 -04:00
absidue a2eceffcc8
Stop electron-builder trying to create GitHub releases in CI workflow (#2407) 2022-08-12 08:35:26 +08:00
absidue 3dc7a8c549
Fix FreeTube's index.html file not being packaged (#2403) 2022-07-18 15:58:37 -04:00
absidue 903f3a2241
Prevent packaging unneeded dependency files (#2303)
* Prevent packaging unneeded dependency files

* Exclude even more dependency files from being packaged
2022-07-14 10:43:07 -04:00
absidue 7287e0011e
Fix webpack deprecation warnings in the dev-runner (#2282) 2022-06-01 07:12:30 -04:00
absidue 331f65ec26
Remove unused dependencies (#2278)
* Remove the bulma-pro and videojs-abloop dependencies

* Remove typescript

* Remove the jest development dependency
2022-05-31 16:15:44 -04:00
PikachuEXE 713738b5ff
* Implement divider for video "more dropdown menu" (#1748)
* * Implement divider for video "more dropdown menu"

* * Update API for ft-icon-button

* * Update existing ft-icon-button user to use new API for dropdown options

* * Update ft-icon-button to remove unused old API

* * Update divider to be less visible

* * Update padding of list item

* * Update WebpackDevServer option to avoid app reloading on MacOS .DS_Store file change
2022-05-29 18:33:27 -04:00
PikachuEXE 80b1e436f8
Update build script to build ARM64 version on Apple Silicon machines (#1918)
* $ Refactor build script

* * Update build script to build ARM64 on Apple Silicon
2022-05-14 12:53:08 -04:00
PikachuEXE 07fd93d3aa
Fix watching video in development (#1668)
* Fix watching watched video in development

* Fix removing a file even when it does not exist (and would raise error)

* Fix infinite reload in video watching

File updates (e.g. dashFiles) in static folder triggers app reload (web-dev-server)
But the a file is created/updated/deleted on before playing any video
So it goes into a loop of loading a video
2021-09-23 07:04:00 +00:00
PikachuEXE 5c83dd8790
Update webpack config to remove explicit HMR plugin (#1729)
This change suppresses warning
"<w> [webpack-dev-server] "hot: true" automatically applies HMR plugin, you don't have to add it manually to your webpack configuration."
2021-09-23 06:43:52 +00:00
Svallinn d55be8dcc5
Build: Bump copyright year 2021-07-02 17:54:59 +01:00
Svallinn 52f35e5be3
Chore: Update `webpack-dev-server` to its `next` version (4.0.0-beta3) 2021-06-19 19:12:42 +01:00
Svallinn 77e743060f
Main+Renderer+Dev-Runner: Refactor smooth scrolling toggling
Smooth scrolling toggling is currently wonky on runtime, since,
most of the time, it doesn't toggle on and off properly.
In addition, now that we have multi-window support,
the current implementation was somewhat lacking.

This commit solves those issues by replacing
the existing smooth scrolling related channels with a
new generic `relaunchRequest` channel.
2021-06-16 05:43:26 +01:00
Svallinn 1900578d2d
Build: Suppress generation of `.build-id` links in rpm packages
This commit addresses a certain issue with `rpmbuild` in which certain
packages will conflict with each other because they have identical
`.build-id` links in the package.

I can speculate from some comments I've seen that this might be do
to electron versions the packages rely on, but I can't know for sure.

Most relevant issues I've seen:
https://github.com/jordansissel/fpm/issues/1503
https://github.com/jgraph/drawio-desktop/issues/259
2021-05-23 03:52:50 +01:00
Svallinn b37c46f12d
Revert unintended merged code from "Update package-lock.json"
This was caused by an unexpected Weblate interaction with a force push.
2021-05-10 05:59:48 +01:00
Svallinn 36d94c812d
Update package-lock.json 2021-05-09 05:48:03 +01:00
Svallinn 90f55ec4eb
Remove Debian libappindicator dependency
Closes: #1229
Relevant issue:
* https://github.com/electron/electron/issues/27527

The libappindicator package will not be available in the upcoming
Debian "bullseye" release and no appropriate alternative has been
implemented by default in electron / electron-builder.

This is a temporary measure until this issue is dealt with upstream.
2021-04-24 18:55:53 +01:00
Itai Nelken 42f053d694
Fix ARMv7 (32-bit) building process (#1132) 2021-04-21 23:13:21 +01:00
Preston 3438b15688 Add new Mac icon 2021-03-06 20:41:26 -05:00
Preston 90d49053d8 Use Papirus Icon as Linux / Windows default icon 2021-03-06 17:17:06 -05:00
James Gundlach cd13691980
Add build support for amrv7l (#956) 2021-03-06 11:19:54 -05:00
Preston a3fe91bef5 Update to Webpack 5 and Electron 12 2021-03-02 22:51:01 -05:00
Preston ce640d9c98 Update webpack.web.config.js 2021-01-15 23:50:13 -05:00
Preston 22c40fb049 Update Dependencies 2020-11-23 21:53:49 -05:00
Synkky 89cc8fe9c6
Fix pathing issue when forking process 2020-10-23 23:29:19 +01:00
Preston 0548baf649 Update build.js 2020-10-09 21:09:23 -04:00
Preston 922b0d7539 Add URL Handlers for Mac builds 2020-10-09 21:05:03 -04:00
Preston 50e935c8e8 Test pacman builds 2020-10-05 10:46:09 -04:00
Preston 54a3810a53 Add protocol to enable extension support 2020-10-04 16:31:07 -04:00
Preston 64b877fe27 Fix Locales File and Implement Locales file with app 2020-08-05 23:39:00 -04:00
Preston 4297d310d2 This time for sure. Fix the ARM Builds 2020-07-21 18:11:51 -04:00
Preston 14457df1e8 Fix ARM Build logic 2020-07-21 18:01:35 -04:00
Preston c43c97ecbf Test different method for ARM builds 2020-07-21 17:43:52 -04:00
Preston 4e2c37b9ef Add Alpine Linux Builds and Update Dependencies 2020-07-21 12:45:07 -04:00
Preston 18f2f8842b Remove ARM and re-add RPM builds 2020-07-17 11:19:21 -04:00
Preston a460fd08ce Fix channel banners and temporarily remove RPM for testing 2020-07-16 23:14:26 -04:00
Preston bd14c088a5
Remove arch from build.js 2020-07-12 16:09:52 -04:00
Preston ea2bbd707a Add arch to build script 2020-07-12 13:53:34 -04:00
Preston b625683a2e Add error handling for local channel API and add check for missing channel info 2020-07-11 18:36:42 -04:00
Preston 029c492cf8
Merge pull request #16 from d43m0nhLInt3r/master
added Linux category
2020-05-31 22:17:50 -04:00
Preston 37622e1f7b Add logo to build and re-add other Linux targets 2020-05-27 23:01:14 -04:00