Skip to content

Instantly share code, notes, and snippets.

Avatar
⚛️

Bogdan Bota bogdibota

⚛️
View GitHub Profile
@bogdibota
bogdibota / Layout.js
Created Jun 14, 2017
next.js and material-ui
View Layout.js
import { Component } from 'react';
import styled from 'styled-components';
import { MuiThemeProvider, getMuiTheme } from 'material-ui/styles';
import injectTapEventPlugin from 'react-tap-event-plugin';
import AppBar from 'material-ui/AppBar';
if (typeof window !== 'undefined') {
injectTapEventPlugin();
}
@bogdibota
bogdibota / installer.nsh
Last active Feb 28, 2022
electron-builder nsis install c++ redist 2017-2019
View installer.nsh
!include LogicLib.nsh
!macro customInit
Var /GLOBAL VCRedistDownload
${If} ${RunningX64}
;HKCR\Installer\Dependencies\VC,redist.x64,amd64,14.21,bundle\Dependents\{f4220b74-9edd-4ded-bc8b-0342c1e164d8}
;HKCR\Installer\Dependencies\VC,redist.x64,amd64,14.22,bundle\Dependents\{6361b579-2795-4886-b2a8-53d5239b6452}
;HKCR\Installer\Dependencies\VC,redist.x64,amd64,14.23,bundle\Dependents\{852adda4-4c78-4a38-b583-c0b360a329d6}
;HKCR\Installer\Dependencies\VC,redist.x64,amd64,14.24,bundle\Dependents\{282975d8-55fe-4991-bbbb-06a72581ce58}