Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wiki update #324

Merged
merged 3 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions Build-on-Linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ _This is a guide for Ubuntu. But I believe that Tizen Studio can be installed on
> It is recommended that the web version match the server version.

```sh
git clone -b release-10.9.z https://github.com/jellyfin/jellyfin-web.git
git clone -b release-10.10.z https://github.com/jellyfin/jellyfin-web.git
```
> Replace `release-10.9.z` with the name of the branch you want to build.
> Replace `release-10.10.z` with the name of the branch you want to build.

> You can also use `git checkout` to switch branches.
5. Clone or download Jellyfin Tizen (this) repository.
Expand All @@ -30,14 +30,12 @@ _This is a guide for Ubuntu. But I believe that Tizen Studio can be installed on

```sh
cd jellyfin-web
SKIP_PREPARE=1 npm ci --no-audit
dmitrylyzo marked this conversation as resolved.
Show resolved Hide resolved
npm ci --no-audit
USE_SYSTEM_FONTS=1 npm run build:production
```

> You should get `jellyfin-web/dist/` directory.

> `SKIP_PREPARE=1` can be omitted for 10.9+.

> `USE_SYSTEM_FONTS=1` is required to discard unused fonts and to reduce the size of the app. (Since Jellyfin Web 10.9)

> Use `npm run build:development` if you want to debug the app.
Expand Down Expand Up @@ -65,7 +63,7 @@ If any changes are made to `jellyfin-web/dist/`, the `jellyfin-tizen/www/` direc
> Make sure you select the appropriate Certificate Profile in Tizen Certificate Manager. This determines which devices you can install the widget on.

```sh
tizen build-web -e ".*" -e gulpfile.js -e README.md -e "node_modules/*" -e "package*.json" -e "yarn.lock"
tizen build-web -e ".*" -e gulpfile.babel.js -e README.md -e "node_modules/*" -e "package*.json" -e "yarn.lock"
tizen package -t wgt -o . -- .buildResult
```

Expand Down
10 changes: 3 additions & 7 deletions Build-on-Windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ _Commands in this guide are for Windows Command Prompt or Batch files. Most of t
> It is recommended that the web version match the server version.

```bat
git clone -b release-10.9.z https://github.com/jellyfin/jellyfin-web.git
git clone -b release-10.10.z https://github.com/jellyfin/jellyfin-web.git
```
> Replace `release-10.9.z` with the name of the branch you want to build.
> Replace `release-10.10.z` with the name of the branch you want to build.

> You can also use `git checkout` to switch branches.
5. Clone or download Jellyfin Tizen (this) repository.
Expand All @@ -32,7 +32,6 @@ _Commands in this guide are for Windows Command Prompt or Batch files. Most of t

```bat
cd jellyfin-web
set SKIP_PREPARE=1
set USE_SYSTEM_FONTS=1
npm ci --no-audit
npm run build:production
Expand All @@ -42,7 +41,6 @@ npm run build:production

```powershell
cd jellyfin-web
$env:SKIP_PREPARE=1
$env:USE_SYSTEM_FONTS=1
npm ci --no-audit
npm run build:production
Expand All @@ -51,8 +49,6 @@ npm run build:production

> You should get `jellyfin-web/dist/` directory.

> `set SKIP_PREPARE=1` can be omitted for 10.9+.

> `USE_SYSTEM_FONTS=1` is required to discard unused fonts and to reduce the size of the app. (Since Jellyfin Web 10.9)

> Use `npm run build:development` if you want to debug the app.
Expand Down Expand Up @@ -90,7 +86,7 @@ If any changes are made to `jellyfin-web/dist/`, the `jellyfin-tizen/www/` direc
> Make sure you select the appropriate Certificate Profile in Tizen Certificate Manager. This determines which devices you can install the widget on.

```bat
tizen.bat build-web -e ".*" -e gulpfile.js -e README.md -e "node_modules/*" -e "package*.json" -e "yarn.lock"
tizen.bat build-web -e ".*" -e gulpfile.babel.js -e README.md -e "node_modules/*" -e "package*.json" -e "yarn.lock"
tizen.bat package -t wgt -o . -- .buildResult
```

Expand Down