Skip to content

Commit

Permalink
Replaced Lato with Nunito font and updated Electron to 27.0.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
YuhApps committed Nov 10, 2023
1 parent 52bae1e commit c650a20
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 11 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "magtorrent",
"productName": "MagTorrent",
"version": "1.0.5",
"version": "1.0.6",
"description": "A torrent app for Desktop, powered by WebTorrent and Electron.",
"main": "src/app.js",
"scripts": {
Expand Down Expand Up @@ -46,7 +46,7 @@
},
"devDependencies": {
"@electron/notarize": "^2.1.0",
"electron": "^27.0.3",
"electron": "^27.0.4",
"electron-builder": "^24.6.4"
},
"postinstall": "electron-builder install-app-deps"
Expand Down
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const soundPlay = require('sound-play')
const sintel = 'magnet:?xt=urn:btih:08ada5a7a6183aae1e09d831df6748d566095a10&dn=Sintel&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&ws=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2F&xs=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2Fsintel.torrent'
const sampleItems = [sintel]

const build_date = '2023.11.03'
const build_date = '2023.11.10'

let webTorrentClient, moveToTrash
let mainWindow
Expand Down
Binary file added src/fonts/nunito_bold.ttf
Binary file not shown.
Binary file added src/fonts/nunito_regular.ttf
Binary file not shown.
16 changes: 14 additions & 2 deletions src/view/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,24 @@

@font-face {
font-family: 'Montserrat';
font-weight: normal;
font-weight: bold;
src: URL('../fonts/montserrat_bold.ttf') format('truetype');
}

@font-face {
font-family: 'Nunito';
font-weight: normal;
src: URL('../fonts/nunito_regular.ttf') format('truetype');
}

@font-face {
font-family: 'Nunito';
font-weight: bold;
src: URL('../fonts/nunito_bold.ttf') format('truetype');
}

html {
font-family: 'Lato';
font-family: 'Nunito';
}

body {
Expand Down

0 comments on commit c650a20

Please sign in to comment.