Skip to content

Commit

Permalink
Ip address (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
parthpetkar authored Jun 28, 2024
2 parents b90e152 + eec686f commit 38f40ef
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 4 deletions.
Binary file added invoice-templates/Dollar.xls
Binary file not shown.
Binary file added invoice-templates/Extra Large.xls
Binary file not shown.
Binary file added invoice-templates/Masshoor.xls
Binary file not shown.
Binary file added invoice-templates/Proforma.xls
Binary file not shown.
Binary file added invoice-templates/Regular 2.xls
Binary file not shown.
Binary file added invoice-templates/Regular.xls
Binary file not shown.
3 changes: 1 addition & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,11 @@ app.on("window-all-closed", () => {
}
});


ipcMain.on("login", async (event, data) => {
try {
const { username, password } = data;
connection = await mysql.createConnection({
host: "localhost",
host: '192.168.2.5',
user: username,
password: password,
database: "invoice",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "office-invoice",
"name": "invoice_gen",
"version": "1.0.0",
"description": "test",
"main": "main.js",
Expand All @@ -10,7 +10,7 @@
"make": "electron-forge make"
},
"keywords": [
"office-invoice"
"invoice_gen"
],
"author": "Parth Petkar, Parth Kalani",
"license": "ISC",
Expand Down

0 comments on commit 38f40ef

Please sign in to comment.