@pro-gram/flux 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/NOTICE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Flux 1.6.0 - third-party components
1
+ Flux 1.6.1 - third-party components
2
2
 
3
3
  FFmpeg 9.0.2, release essentials build by Gyan Doshi
4
4
  Used as a separate command-line decoding process.
package/README.md CHANGED
@@ -7,10 +7,21 @@ Flux is a compact Windows audio studio with a 16-track editor/recorder, a Media
7
7
  Close the running audio application, then:
8
8
 
9
9
  ```powershell
10
- npm.cmd install -g @pro-gram/flux@latest
11
- flux.cmd
10
+ npm install -g @pro-gram/flux@latest
11
+ flux --setup
12
+ flux
13
+ ```
14
+
15
+ **If npm skips setup or the Desktop shortcut is missing, run `flux --setup`.** This completes the desktop installation and creates the Flux Desktop and Start menu shortcuts. When npm allows the setup script, these steps happen automatically. An `allowScripts` notice can also appear after a successful installation. The first `flux` launch completes setup if it is needed.
16
+
17
+ To allow Flux's setup script for one installation:
18
+
19
+ ```powershell
20
+ npm install -g @pro-gram/flux@latest --allow-scripts=@pro-gram/flux
12
21
  ```
13
22
 
23
+ If PowerShell blocks the `npm.ps1` or `flux.ps1` launcher, use `npm.cmd` and `flux.cmd` for the same commands.
24
+
14
25
  Windows 10/11 x64 is supported. macOS is planned. Basic tools work locally without an account.
15
26
 
16
27
  ### Moving from Drum Buddy / FluxTempo
package/dependencies.json CHANGED
@@ -10,6 +10,6 @@
10
10
  "sha256": "315a71e8942a445c903b2d1aedb703b64aab30f054e46199a2bac447d3d03cb2",
11
11
  "alternateSha256": "5564fa622f101dc27ea402c399c5b9b1e1e039b8771daf40b185dab9772adf38"
12
12
  },
13
- "installerSha256": "0a57d2459fdb2c5c0c2917df12ca907b47c5a966006d2680e9d160d16bdfed9c",
13
+ "installerSha256": "3d36d86c4bc3e83276811a59778c2fc0e3fe7368dcb6b0ecbc7658ea99220929",
14
14
  "bundledAssets": true
15
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pro-gram/flux",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Flux: a 16-track Windows audio studio with native shared playback, float/PCM recording, clip editing tools, tempo grids and bundled audio codecs.",
5
5
  "license": "MIT",
6
6
  "author": "pro-gram",
@@ -17,7 +17,7 @@
17
17
  "flux": "bin/flux.js"
18
18
  },
19
19
  "scripts": {
20
- "postinstall": "node scripts/install.js",
20
+ "postinstall": "echo If npm skips setup, run flux --setup && node scripts/install.js",
21
21
  "test": "node --test test/*.test.js"
22
22
  },
23
23
  "files": [
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/payload/DrumBuddy-Setup.exe
3
- size: 42842112 bytes
4
- sha256: 0a57d2459fdb2c5c0c2917df12ca907b47c5a966006d2680e9d160d16bdfed9c
3
+ size: 42842624 bytes
4
+ sha256: 3d36d86c4bc3e83276811a59778c2fc0e3fe7368dcb6b0ecbc7658ea99220929
@@ -21,7 +21,7 @@ namespace DrumBuddySetup
21
21
  if(File.Exists(target) && expected.Contains(Hash(target),StringComparer.OrdinalIgnoreCase))return target;
22
22
  string temporary=target+"."+Guid.NewGuid().ToString("N")+".partial";
23
23
  try {
24
- using(var client=new WebClient()) { client.Headers[HttpRequestHeader.UserAgent]="DrumBuddy/1.6.0";client.DownloadFile(url,temporary); }
24
+ using(var client=new WebClient()) { client.Headers[HttpRequestHeader.UserAgent]="DrumBuddy/1.6.1";client.DownloadFile(url,temporary); }
25
25
  if(!expected.Contains(Hash(temporary),StringComparer.OrdinalIgnoreCase))throw new IOException("A downloaded component failed its integrity check. Please retry setup or obtain a newer Drum Buddy release.");
26
26
  File.Copy(temporary,target,true);return target;
27
27
  }finally { if(File.Exists(temporary))File.Delete(temporary); }
@@ -1,4 +1,4 @@
1
- Flux 1.6.0 bundled FFmpeg audio decoders
1
+ Flux 1.6.1 bundled FFmpeg audio decoders
2
2
  These decode imported files without Windows Media Player codecs.
3
3
 
4
4
  A..... = Audio
package/source/Main.cs CHANGED
@@ -20,7 +20,7 @@ using NAudio.Wave.SampleProviders;
20
20
 
21
21
  [assembly: AssemblyTitle("Flux")]
22
22
  [assembly: AssemblyDescription("PCM/float media player, 16-track audio editor, H5studio recording and R16 control")]
23
- [assembly: AssemblyVersion("1.6.0.0")]
23
+ [assembly: AssemblyVersion("1.6.1.0")]
24
24
 
25
25
  namespace DrumBuddy
26
26
  {
@@ -721,7 +721,7 @@ namespace DrumBuddy
721
721
  "MEDIA PLAYER\nOpen audio or video to listen. Gain / Save amplifies or reduces playback and saves adjusted WAV copies; Playback volume changes listening level only. Reset, Set safe level and Prevent clipping are available. Choose speakers/headphones under Audio output. Gain / Save can be resized, collapsed, or displayed on the side or bottom.\n\n" +
722
722
  "EDITOR\nA 16-track audio timeline. Drag the upper ruler and release to place the playhead. The left edge snaps to zero; Home/To start goes to zero and End goes to the timeline end. Hold Alt to bypass snapping. Drag across a track to select time; two thinner blue sticks mark the selection start/end. Drag their lower-ruler handles to adjust the boundaries. Cut/copy/paste, split, undo/redo, Space to play/pause and Ctrl+S to save. Cuts leave a gap. Choose Selected track or All 16 tracks for edits. Save .dbedit sessions and export PCM or float WAV mixes. Original source files are preserved.\n\n" +
723
723
  "THEME AND SETTINGS\nUse the top-right switch for dark or light theme. Settings has categories for General, Audio and Keybinds. Click Edit on a keybind and press the new shortcut immediately. Save writes the changes; leaving with pending changes asks whether to save them. S splits at the playhead; V returns to the selection cursor.\n\n" +
724
- "Basic tools run locally without an account. This release is for Windows; macOS is planned.\n\nFlux 1.6.0 · FFmpeg + NAudio",
724
+ "Basic tools run locally without an account. This release is for Windows; macOS is planned.\n\nFlux 1.6.1 · FFmpeg + NAudio",
725
725
  "Flux — quick help",MessageBoxButton.OK,MessageBoxImage.Information);
726
726
  }
727
727
  }
@@ -1,7 +1,10 @@
1
- FLUX 1.6.0
1
+ FLUX 1.6.1
2
2
 
3
3
  INSTALL / UPDATE
4
4
  Close the app. Run npm.cmd install -g @pro-gram/flux@latest
5
+ If npm skips its setup script, run flux --setup to finish the desktop install
6
+ and create the Flux Desktop and Start menu shortcuts. With PowerShell scripts
7
+ disabled, use flux.cmd --setup instead. First launch also completes setup.
5
8
  Launch flux.cmd, or the Flux Desktop shortcut.
6
9
  Migrating: npm.cmd uninstall -g @pro-gram/drumbuddy before installing Flux.
7
10
  Windows 10/11 x64 only in this release.
package/source/Setup.cs CHANGED
@@ -14,7 +14,7 @@ using System.Windows.Markup;
14
14
  using Microsoft.Win32;
15
15
 
16
16
  [assembly: AssemblyTitle("Flux Setup")]
17
- [assembly: AssemblyVersion("1.6.0.0")]
17
+ [assembly: AssemblyVersion("1.6.1.0")]
18
18
 
19
19
  namespace DrumBuddySetup
20
20
  {
@@ -101,7 +101,7 @@ namespace DrumBuddySetup
101
101
  Directory.CreateDirectory(Path.GetDirectoryName(destination));
102
102
  File.Copy(source,destination,true);
103
103
  }
104
- File.WriteAllText(Path.Combine(InstallPath,".drumbuddy-installed"),"Flux 1.6.0\n" + InstallPath,Encoding.UTF8);
104
+ File.WriteAllText(Path.Combine(InstallPath,".drumbuddy-installed"),"Flux 1.6.1\n" + InstallPath,Encoding.UTF8);
105
105
  string[] files = Directory.GetFiles(stage,"*",SearchOption.AllDirectories).Select(f => f.Substring(stage.Length + 1)).Concat(new[] { ".drumbuddy-installed","installed-files.txt" }).ToArray();
106
106
  File.WriteAllLines(Path.Combine(InstallPath,"installed-files.txt"),files,Encoding.UTF8);
107
107
  string exe = Path.Combine(InstallPath,"DrumBuddy.exe");
@@ -112,7 +112,7 @@ namespace DrumBuddySetup
112
112
  RemoveLegacyShortcut(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.StartMenu),"Programs","Drum Buddy.lnk"),exe);
113
113
  RemoveLegacyShortcut(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory),"Drum Buddy.lnk"),exe);
114
114
  using (var key = Microsoft.Win32.Registry.CurrentUser.CreateSubKey(RegistryKey)) {
115
- key.SetValue("DisplayName","Flux"); key.SetValue("DisplayVersion","1.6.0"); key.SetValue("Publisher","Flux");
115
+ key.SetValue("DisplayName","Flux"); key.SetValue("DisplayVersion","1.6.1"); key.SetValue("Publisher","Flux");
116
116
  key.SetValue("InstallLocation",InstallPath); key.SetValue("DisplayIcon",BrandIcon);
117
117
  key.SetValue("UninstallString","\"" + Path.Combine(InstallPath,"Uninstall.exe") + "\"");
118
118
  key.SetValue("NoModify",1); key.SetValue("NoRepair",1);
@@ -1,4 +1,4 @@
1
- Flux 1.6.0 - third-party components
1
+ Flux 1.6.1 - third-party components
2
2
 
3
3
  FFmpeg 9.0.2, release essentials build by Gyan Doshi
4
4
  Used as a separate command-line decoding process.