Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Nativefier customisations for Scrumpy

1. Create scrumpy.css

body {
    -webkit-app-region: drag;
}
a,
button,
.grid__item {
    -webkit-app-region: no-drag;
}

2. Create the wrapper

nativefier app.scrumpy.io --inject ./scrumpy.css

3. Edit main.js (Scrumpy.app/Contents/Resources/app/lib/main.js)

// ~ L4945
var mainWindow = new _electron.BrowserWindow({
    titleBarStyle: 'hiddenInset',
    // ...
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.