Skip to content

Commit

Permalink
fix issue with mac and change text
Browse files Browse the repository at this point in the history
mac would not close the app properly which could cause problems
  • Loading branch information
JLaferri committed Mar 9, 2019
1 parent 7c5f543 commit 0feba38
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 30 deletions.
52 changes: 26 additions & 26 deletions app/components/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,50 +60,50 @@ export default class Home extends Component {
);
}

renderPatreonNotif() {
const contentMsg = (
<div>
Your support allows me to spend more time on the project and pay for
services to make it even better. Enjoy the beta features!&nbsp;
<strong>
<a href="https://www.patreon.com/fizzi36">Click here</a>
</strong>
&nbsp;to view Patreon page.
</div>
);

return (
<Message
info={true}
icon="patreon"
header="Thank you!"
content={contentMsg}
/>
);
}

// renderPatreonNotif() {
// const contentMsg = (
// <div>
// If you are enjoying using Project Slippi, consider becoming a patron to
// support continued development and unlock early-access features.&nbsp;
// Your support allows me to spend more time on the project and pay for
// services to make it even better. Enjoy the beta features!&nbsp;
// <strong>
// <a href="https://www.patreon.com/fizzi36">Click here</a>
// </strong>
// &nbsp;to support!
// &nbsp;to view Patreon page.
// </div>
// );

// return (
// <Message
// info={true}
// icon="patreon"
// header="Unlock Early-Access Features"
// header="Thank you!"
// content={contentMsg}
// />
// );
// }

renderPatreonNotif() {
const contentMsg = (
<div>
If you are enjoying using Project Slippi, consider becoming a patron to
support continued development and unlock early-access features.&nbsp;
<strong>
<a href="https://www.patreon.com/fizzi36">Click here</a>
</strong>
&nbsp;to support!
</div>
);

return (
<Message
info={true}
icon="patreon"
header="Unspeakable amount of hours have gone into this"
content={contentMsg}
/>
);
}

render() {
const navigationElements = [];

Expand Down
10 changes: 7 additions & 3 deletions app/main.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,13 @@ app.on('open-url', (event, url) => {
app.on('window-all-closed', () => {
// Respect the OSX convention of having the application in memory even
// after all windows have been closed
if (process.platform !== 'darwin') {
app.quit();
}
// if (process.platform !== 'darwin') {
// app.quit();
// }

// The above code didn't really work well. I couldn't re-open the app,
// and I couldn't launch replays from URI. Fuck the conventions
app.quit();
});

// Only allow a single Slippi Launcher instance
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "slippi-launcher",
"productName": "Slippi Launcher",
"version": "1.3.0",
"version": "1.3.1",
"description": "Slippi Launcher program for browsing and playing replays.",
"scripts": {
"build": "concurrently \"yarn build-main\" \"yarn build-renderer\"",
Expand Down

0 comments on commit 0feba38

Please sign in to comment.