Skip to content

Commit

Permalink
feat(baklava): make splash screen draggable and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
amitojsingh366 committed May 11, 2021
1 parent 8bbc4d0 commit d32ceef
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 3 additions & 2 deletions baklava/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ It uses ElectronJS as a wrapper for [dogehouse.tv](https://dogehouse.tv) and add
- Global keybinds
- Splash screen
- Localization
- Discord RPC

## How to run

Expand All @@ -18,9 +19,9 @@ It uses ElectronJS as a wrapper for [dogehouse.tv](https://dogehouse.tv) and add
- Run `yarn install`
- Ensure [Rust](https://www.rust-lang.org/learn/get-started) is installed
- Install `nj-cli` by running `cargo install nj-cli`
- Run `yarn build:globkey`
- Run `yarn build:globalkey`
- Run `yarn start`
- *(Optional)* Run `yarn build:%YOUR_PLATFORM_CODE%` and install the app from the build *(located in `/builds`)*
- _(Optional)_ Run `yarn build:%YOUR_PLATFORM_CODE%` and install the app from the build _(located in `/builds`)_

If you encounter any errors while building please create a new issue for it or ask for help on the [Discord](https://discord.gg/wCbKBZF9cV0).

Expand Down
4 changes: 2 additions & 2 deletions baklava/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dogehouse",
"version": "1.0.67",
"version": "1.0.68",
"description": "Taking voice conversations to the moon 🚀",
"main": "./dist/electron.js",
"scripts": {
Expand Down Expand Up @@ -126,4 +126,4 @@
"./icons/**/*",
"./resources/**/*"
]
}
}
6 changes: 5 additions & 1 deletion baklava/resources/splash/splash-screen.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@

<body>
<style>
:root {
user-select: none;
}

body {
background-color: rgba(0, 0, 0, 0);
}
Expand All @@ -32,7 +36,7 @@
}
</style>
<div
style=" background-color: #0B0E11; border-radius: 5%; height: 400px; width: 300px; position:fixed; top:50%; left:50%; transform:translate(-50%, -50%);">
style="background-color: #0B0E11; border-radius: 5%; height: 400px; width: 300px; position:fixed; top:50%; left:50%; transform:translate(-50%, -50%); -webkit-app-region: drag;">
<img style="height:120px; position:fixed; top:35%; left:50%; transform:translate(-50%, -50%);"
src="../../icons/icon.png" alt="DogeHouse Logo">
<h4
Expand Down

1 comment on commit d32ceef

@vercel
Copy link

@vercel vercel bot commented on d32ceef May 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.