Skip to content

Commit

Permalink
- Fix an issue that IP assignment event is not fired when NotifyIpInt…
Browse files Browse the repository at this point in the history
…erfaceChange only notifies with link-local address.

- In standalone mode, stop the monitor upon receiving SIGINT.
- Also, bump up dependencies and remove the yam resolution of forcing minimist as the upgrade of node-windows makes it obsolete
  • Loading branch information
blu3mania committed Sep 25, 2022
1 parent acfc46e commit f998eae
Show file tree
Hide file tree
Showing 16 changed files with 781 additions and 745 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/git-diff-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Git diff Check

on:
workflow_dispatch:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
branches: [main]

jobs:
Analyze:
runs-on: windows-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Run git diff check
run: |
git config --global core.whitespace cr-at-eol,tab-in-indent
git diff --check HEAD^
45 changes: 0 additions & 45 deletions .yarnclean

This file was deleted.

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Update-Dynamic-DNS-with-VPN
![Apache 2.0 License](https://img.shields.io/badge/License-Apache%202.0-yellow)
![node.js 10+](https://img.shields.io/badge/node.js-10.16.3-blue?logo=node.js)
![Latest Release](https://img.shields.io/github/v/release/blu3mania/update-dynamic-dns-with-vpn)
# update-dynamic-dns-with-vpn
[![Apache 2.0 License](https://img.shields.io/badge/License-Apache%202.0-yellow)](https://raw.githubusercontent.com/blu3mania/update-dynamic-dns-with-vpn/main/LICENSE)
[![node.js 10+](https://img.shields.io/badge/node.js-10.16.3-blue?logo=node.js)](https://nodejs.org/en/)
[![Latest Release](https://img.shields.io/github/v/release/blu3mania/update-dynamic-dns-with-vpn)](https://github.com/blu3mania/update-dynamic-dns-with-vpn/releases/latest)

Auto update a dynamic DNS registration based on a given network interface, such as VPN. **Note**, it does
not update dynamic DNS with your public IP. If that's what you are looking for, there are already many other
Expand Down
27 changes: 13 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
{
"name": "update-dynamic-dns-with-vpn",
"version": "1.0.0",
"version": "1.1.0",
"description": "Automatically update a dynamic DNS registration based on a given network interface, such as VPN",
"main": "src/app.js",
"scripts": {
"start": "node src/app.js",
"install": "node src/install-service.js",
"postinstall": "node src/install-service.js",
"uninstall": "node src/uninstall-service.js",
"show": "node src/show-interfaces.js"
},
"bin": {
"showip": "src/show-interfaces.js"
},
"keywords": [
"dynamic",
"dns",
"dynamic-dns",
"network-interface",
"vpn"
"dynamic dns",
"vpn",
"network",
"network interface",
"network interface monitor",
"windows"
],
"author": "blu3mania <[email protected]>",
"license": "Apache-2.0",
Expand All @@ -33,13 +35,10 @@
"win32"
],
"dependencies": {
"chalk": "^4.1.0",
"ffi-napi": "^3.1.0",
"node-notifier": "^9.0.0",
"node-windows": "^1.0.0-beta.5"
"chalk": "^4.1.2",
"ffi-napi": "^4.0.3",
"node-notifier": "^10.0.1",
"node-windows": "^1.0.0-beta.8"
},
"devDependencies": {},
"resolutions": {
"**/minimist": "^1.2.5"
}
"devDependencies": {}
}
Loading

0 comments on commit f998eae

Please sign in to comment.