Browse Source

rename to sqltabs

tags/v0.3.1
Sasha Aliashkevich 4 years ago
parent
commit
7e7a69e4d2
8 changed files with 12 additions and 12 deletions
  1. +2
    -2
      .gitignore
  2. +1
    -1
      index.html
  3. +1
    -1
      main.js
  4. +1
    -1
      package.json
  5. +4
    -4
      package.sh
  6. +0
    -0
      sqltabs.png
  7. +1
    -1
      src/Config.js
  8. +2
    -2
      src/Menu.js

+ 2
- 2
.gitignore View File

@@ -1,5 +1,5 @@
.DS_Store
PGTabs.app
SQL Tabs.app
build/*
node_modules/*
pgtabs.dmg
sqltabs.dmg

+ 1
- 1
index.html View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>PGTabs</title>
<title>SQL Tabs</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">

<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">

+ 1
- 1
main.js View File

@@ -21,7 +21,7 @@ app.on('ready', function() {
mainWindow = new BrowserWindow({
width: 800,
height: 600,
title: 'PGTabs',
title: 'SQL Tabs',
});
mainWindow.maximize();


+ 1
- 1
package.json View File

@@ -1,5 +1,5 @@
{
"name": "PGTabs",
"name": "SQL Tabs",
"version": "0.0.1",
"main": "main.js",
"window": {

+ 4
- 4
package.sh View File

@@ -1,5 +1,5 @@
#!/bin/sh
rm -rf ./PGTabs.app
rm ./pgtabs.dmg
electron-packager ./ PGTabs --platform=darwin --arch=x64 --version=0.25.2 --icon logo.icns
hdiutil create -format UDZO -srcfolder PGTabs.app pgtabs.dmg
rm -rf ./SQLTabs.app
rm ./sqltabs.dmg
electron-packager ./ "SQL Tabs" --platform=darwin --arch=x64 --version=0.25.2 --icon logo.icns
hdiutil create -format UDZO -srcfolder "SQL Tabs.app" sqltabs.dmg

pgtabs.png → sqltabs.png View File


+ 1
- 1
src/Config.js View File

@@ -2,7 +2,7 @@ var lowdb = require('lowdb');
var path = require('path');
var fs = require('fs');

var config_dir = path.join((process.env.HOME || process.env.HOMEPATH || process.env.APPDATA), '.pgtabs')
var config_dir = path.join((process.env.HOME || process.env.HOMEPATH || process.env.APPDATA), '.sqltabs')
var config_path = path.join(config_dir, 'config.json')

if (!fs.existsSync(config_dir)){

+ 2
- 2
src/Menu.js View File

@@ -45,10 +45,10 @@ var saveFileAs = function(){
}

template = [
{label: "PGTabs",
{label: "SQL Tabs",
submenu: [
{
label: 'Hide PGTabs',
label: 'Hide SQL Tabs',
accelerator: 'Command+H',
selector: 'hide:'
},

Loading…
Cancel
Save