Skip to content
Open
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
2 changes: 1 addition & 1 deletion 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
Expand Up @@ -75,7 +75,7 @@
"build": {
"appId": "nuclear",
"productName": "nuclear",
"artifactName": "${productName}-v${env.VERSION}-${arch}.${ext}",
"artifactName": "${productName}-v${version}-${arch}.${ext}",
"directories": {
"output": "release"
},
Expand Down Expand Up @@ -213,4 +213,4 @@
"dependencies": {
"sqlite3": "^5.1.6"
}
}
}
Binary file added packages/app/app/.DS_Store
Binary file not shown.
Empty file.
14 changes: 14 additions & 0 deletions packages/app/app/containers/AudiobookContainer/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from 'react';

class AudiobookContainer extends React.Component {
render() {
return (
<div className='audiobook-container'>
<h1>Audiobooks</h1>
{/* your audiobook UI goes here */}
</div>
);
}
}

export default AudiobookContainer;
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,11 @@ exports[`Dashboard container should display top tracks after going to top tracks
>
Genres
</a>
<a
class="item"
>
Audiobooks
</a>
</div>
<div
class="ui segment active tab popular_tracks_tab"
Expand Down
3 changes: 3 additions & 0 deletions packages/app/app/containers/MainContentContainer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ import VisualizerNode from '../VisualizerContainer/VisualizerNode';
import DeezerPlaylistAdapter from '../DeezerPlaylistAdapter';
import { ListeningHistoryContainer } from '../ListeningHistoryContainer';
import { SpotifyPlaylistAdapter } from '../SpotifyPlaylistAdapter';
import AudiobookContainer from '../AudiobookContainer';


class MainContentContainer extends React.Component {
componentDidMount() {
Expand Down Expand Up @@ -60,6 +62,7 @@ class MainContentContainer extends React.Component {
<Route path='/visualizer' component={VisualizerNode} />
<Route path='/library' component={LibraryViewContainer} />
<Route path='/listening-history' component={ListeningHistoryContainer} />
<Route path='/audiobooks' component={AudiobookContainer} />
</Switch>
</MainLayout>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ export default [
{ name: 'settings', path: 'settings', icon: 'cog' },
{ name: 'equalizer', path: 'equalizer', icon: 'align right' },
{ name: 'visualizer', path: 'visualizer', icon: 'tint' },
{ name: 'listening-history', path: 'listening-history', icon: 'history' }
{ name: 'listening-history', path: 'listening-history', icon: 'history' },
{ name: 'Audiobooks', path: 'audiobooks', icon: 'flask'}
]
}, {
name: 'collection',
Expand Down
14,052 changes: 14,052 additions & 0 deletions packages/main/1761673707361-player-script.js

Large diffs are not rendered by default.

14,052 changes: 14,052 additions & 0 deletions packages/main/1761673707376-player-script.js

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions packages/main/src/services/window/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ import Store from '../store';
import { IpcEvents } from '@nuclear/core';

const urlMapper: Record<Env, string> = {
[Env.DEV]: url.format({
pathname: 'localhost:8080',
protocol: 'http:',
slashes: true
}),
[Env.DEV]: 'http://localhost:8080',
[Env.PROD]: url.format({
pathname: path.join(__dirname, 'index.html'),
protocol: 'file:',
Expand Down