Skip to content

Commit

Permalink
Fixed libraries API syncing on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
astrochili committed Jan 24, 2024
1 parent cfadf5b commit f47cd28
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to the Defold Kit extension will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [2.1.2] - 2024-01-24

### Fixed

- Fixed the libraries API syncing on Windows [#37](https://github.com/astrochili/vscode-defold/issues/37)

## [2.1.1] - 2023-11-11

### Changed
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"publisher": "astronachos",
"name": "defold",
"contributesPrefix": "defoldKit",
"version": "2.1.1",
"version": "2.1.2",
"license": "MIT",
"displayName": "Defold Kit",
"description": "Toolkit to build, launch, debug, bundle and deploy your game made with Defold",
Expand Down
2 changes: 1 addition & 1 deletion src/annotations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ async function unpackDependenciesAnnotations(): Promise<string | undefined> {
log(`Unpacking from '${file[0]}' to '${path.join(apiPath, projectPath)}`)

for (const zipEntry of zipEntries) {
const internalPath = zipEntry.entryName
const internalPath = zipEntry.entryName.replaceAll('/', path.sep)

for (const libraryDir of libraryDirs) {
if (internalPath.startsWith(libraryDir) && internalPath.endsWith('.lua')) {
Expand Down

0 comments on commit f47cd28

Please sign in to comment.